X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/fe5d65e4e704358fab18d91dae5a97ff7659f5df..efedeb30d0641217f1fb27627c9ae4cba7aedd36:/src/views/process-panel/process-panel-root.tsx diff --git a/src/views/process-panel/process-panel-root.tsx b/src/views/process-panel/process-panel-root.tsx index 5fb6390c..35842c7b 100644 --- a/src/views/process-panel/process-panel-root.tsx +++ b/src/views/process-panel/process-panel-root.tsx @@ -8,15 +8,13 @@ import { ProcessInformationCard } from './process-information-card'; import { DefaultView } from '~/components/default-view/default-view'; import { ProcessIcon } from '~/components/icon/icon'; import { Process } from '~/store/processes/process'; -import { SubprocessesCard } from './subprocesses-card'; -import { ProcessSubprocesses } from '~/views/process-panel/process-subprocesses'; +import { SubprocessPanel } from '~/views/subprocess-panel/subprocess-panel'; import { SubprocessFilterDataProps } from '~/components/subprocess-filter/subprocess-filter'; export interface ProcessPanelRootDataProps { process?: Process; subprocesses: Array; filters: Array; - totalSubprocessesLength: number; } export interface ProcessPanelRootActionProps { @@ -25,6 +23,7 @@ export interface ProcessPanelRootActionProps { openProcessInputDialog: (uuid: string) => void; navigateToOutput: (uuid: string) => void; navigateToWorkflow: (uuid: string) => void; + cancelProcess: (uuid: string) => void; } export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRootActionProps; @@ -32,26 +31,18 @@ export type ProcessPanelRootProps = ProcessPanelRootDataProps & ProcessPanelRoot export const ProcessPanelRoot = ({ process, ...props }: ProcessPanelRootProps) => process ? - + props.onContextMenu(event, process)} openProcessInputDialog={props.openProcessInputDialog} navigateToOutput={props.navigateToOutput} - navigateToWorkflow={props.navigateToWorkflow} - /> - - - - - + + :