X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/98eba2bbc83b8d4bbce837f75924dbaed2664519..0eaad7ee985d2534e030e2d2839392435c33bba2:/src/views/process-panel/process-information-card.tsx diff --git a/src/views/process-panel/process-information-card.tsx b/src/views/process-panel/process-information-card.tsx index 40fd8b22..e5d15e72 100644 --- a/src/views/process-panel/process-information-card.tsx +++ b/src/views/process-panel/process-information-card.tsx @@ -68,12 +68,13 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ export interface ProcessInformationCardDataProps { process: Process; onContextMenu: (event: React.MouseEvent) => void; + openProcessInputDialog: (uuid: string) => void; } -type ProcessInformationCardProps = ProcessInformationCardDataProps & WithStyles; +type ProcessInformationCardProps = ProcessInformationCardDataProps & WithStyles; export const ProcessInformationCard = withStyles(styles, { withTheme: true })( - ({ classes, process, onContextMenu, theme }: ProcessInformationCardProps) => + ({ classes, process, onContextMenu, theme, openProcessInputDialog }: ProcessInformationCardProps) => - + onContextMenu(event)}> @@ -120,7 +121,9 @@ export const ProcessInformationCard = withStyles(styles, { withTheme: true })( - + openProcessInputDialog(process.containerRequest.uuid)}> + +