+ {
+ icon: ReRunProcessIcon,
+ name: "Re-run process",
+ execute: (dispatch, resource) => {
+ if(resource.workflowUuid) {
+ dispatch<any>(reRunProcess(resource.uuid, resource.workflowUuid));
+ } else {
+ dispatch(snackbarActions.OPEN_SNACKBAR({ message: `You can't re-run this process`, hideDuration: 2000, kind: SnackbarKind.ERROR }));
+ }
+ }
+ },
+ {
+ icon: OutputIcon,
+ name: "Outputs",
+ execute: (dispatch, resource) => {
+ if(resource.outputUuid){
+ dispatch<any>(navigateToOutput(resource.outputUuid));
+ }
+ }
+ },