init-process-input-modal-view
[arvados.git] / src / views / process-panel / process-panel-root.tsx
index ab8af36ffbb5e619e69fa22e2fbbb62b07d0a634..df0f7a64bfafc78dcbdb2bc541f237cf43f435e7 100644 (file)
@@ -22,6 +22,7 @@ export interface ProcessPanelRootDataProps {
 export interface ProcessPanelRootActionProps {
     onContextMenu: (event: React.MouseEvent<HTMLElement>, process: Process) => void;
     onToggle: (status: string) => void;
+    openProcessInputDialog: (uuid: string) => void;
 }
 
 export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRootActionProps;
@@ -32,7 +33,8 @@ export const ProcessPanelRoot = ({process, ...props}: ProcessPanelRootProps) =>
             <Grid item sm={12} md={7}>
                 <ProcessInformationCard
                     process={process}
-                    onContextMenu={event => props.onContextMenu(event, process)} />
+                    onContextMenu={event => props.onContextMenu(event, process)} 
+                    openProcessInputDialog={props.openProcessInputDialog} />
             </Grid>
             <Grid item sm={12} md={5}>
                 <SubprocessesCard