X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/576cd73ae073187557df3239ca301c16eaca7ae9..f75b0aa3966895160535bad24b05c1a763665a5a:/src/views/process-panel/process-panel.tsx

diff --git a/src/views/process-panel/process-panel.tsx b/src/views/process-panel/process-panel.tsx
index 6e2d75c6cb..2ad7e2a37b 100644
--- a/src/views/process-panel/process-panel.tsx
+++ b/src/views/process-panel/process-panel.tsx
@@ -23,8 +23,9 @@ import {
     loadOutputs,
     toggleProcessPanelFilter,
     updateOutputParams,
+    loadNodeJson
 } from 'store/process-panel/process-panel-actions';
-import { cancelRunningWorkflow } from 'store/processes/processes-actions';
+import { cancelRunningWorkflow, startWorkflow } from 'store/processes/processes-actions';
 import { navigateToLogCollection, setProcessLogsPanelFilter } from 'store/process-logs-panel/process-logs-panel-actions';
 import { snackbarActions, SnackbarKind } from 'store/snackbar/snackbar-actions';
 
@@ -42,6 +43,7 @@ const mapStateToProps = ({ router, auth, resources, processPanel, processLogsPan
         outputRaw: processPanel.outputRaw,
         outputDefinitions: processPanel.outputDefinitions,
         outputParams: processPanel.outputParams,
+        nodeInfo: processPanel.nodeInfo,
     };
 };
 
@@ -60,12 +62,14 @@ const mapDispatchToProps = (dispatch: Dispatch): ProcessPanelRootActionProps =>
         dispatch<any>(toggleProcessPanelFilter(status));
     },
     cancelProcess: (uuid) => dispatch<any>(cancelRunningWorkflow(uuid)),
+    startProcess: (uuid) => dispatch<any>(startWorkflow(uuid)),
     onLogFilterChange: (filter) => dispatch(setProcessLogsPanelFilter(filter.value)),
     navigateToLog: (uuid) => dispatch<any>(navigateToLogCollection(uuid)),
     loadInputs: (containerRequest) => dispatch<any>(loadInputs(containerRequest)),
     loadOutputs: (containerRequest) => dispatch<any>(loadOutputs(containerRequest)),
     loadOutputDefinitions: (containerRequest) => dispatch<any>(loadOutputDefinitions(containerRequest)),
-    updateOutputParams: () => dispatch<any>(updateOutputParams())
+    updateOutputParams: () => dispatch<any>(updateOutputParams()),
+    loadNodeJson: (containerRequest) => dispatch<any>(loadNodeJson(containerRequest)),
 });
 
 const getFilters = (processPanel: ProcessPanelState, processes: Process[]) => {
@@ -78,6 +82,6 @@ const getFilters = (processPanel: ProcessPanelState, processes: Process[]) => {
             checked: processPanel.filters[filter],
             key: filter,
         }));
-    };
+};
 
 export const ProcessPanel = connect(mapStateToProps, mapDispatchToProps)(ProcessPanelRoot);
