re-run-workflow-and-display-workflow-inside-process-info-card
[arvados-workbench2.git] / src / store / context-menu / context-menu-actions.ts
index ca89f3eb3fe87cf9b220299ca764ea652c535cba..269495e5d3af4cee52cb2fd819320a4d4b4c600a 100644 (file)
@@ -36,6 +36,7 @@ export type ContextMenuResource = {
     menuKind: ContextMenuKind;
     isTrashed?: boolean;
     outputUuid?: string;
+    workflowUuid?: string;
 };
 
 export const isKeyboardClick = (event: React.MouseEvent<HTMLElement>) => event.nativeEvent.detail === 0;
@@ -187,6 +188,7 @@ export const openProcessContextMenu = (event: React.MouseEvent<HTMLElement>, pro
                 name: res.name,
                 description: res.description,
                 outputUuid: res.outputUuid || '',
+                workflowUuid: res.properties.workflowUuid || '',
                 menuKind: ContextMenuKind.PROCESS
             }));
         }