init view log with props
[arvados-workbench2.git] / src / store / workbench / workbench-actions.ts
index 3c68c0004519b15a73fca9a9c5553b316e3a68e5..97fe549a639b23e23ffbcad389869d8e4a75bfcf 100644 (file)
@@ -185,6 +185,12 @@ export const loadProcess = (uuid: string) =>
         }
     };
 
+export const loadProcessLog = (uuid: string) =>
+    async (dispatch: Dispatch, getState: () => RootState) => {
+        dispatch<any>(loadProcess(uuid));
+        // ToDo: loadLog();
+    };
+
 export const resourceIsNotLoaded = (uuid: string) =>
     snackbarActions.OPEN_SNACKBAR({
         message: `Resource identified by ${uuid} is not loaded.`