X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/33f356b44d2935a5b3f3d233c3b635e8e7b50085..da4bec7681a503f4a0dbb258cdef5be9e6762299:/src/views/run-process-panel/run-process-panel-root.tsx diff --git a/src/views/run-process-panel/run-process-panel-root.tsx b/src/views/run-process-panel/run-process-panel-root.tsx index b656ba1f..14895275 100644 --- a/src/views/run-process-panel/run-process-panel-root.tsx +++ b/src/views/run-process-panel/run-process-panel-root.tsx @@ -5,22 +5,24 @@ import * as React from 'react'; import { Stepper, Step, StepLabel, StepContent } from '@material-ui/core'; import { RunProcessFirstStepDataProps, RunProcessFirstStepActionProps, RunProcessFirstStep } from '~/views/run-process-panel/run-process-first-step'; -import { RunProcessSecondStepDataProps, RunProcessSecondStepActionProps, RunProcessSecondStepForm } from '~/views/run-process-panel/run-process-second-step'; +import { RunProcessSecondStepForm } from './run-process-second-step'; export type RunProcessPanelRootDataProps = { currentStep: number; -} & RunProcessFirstStepDataProps & RunProcessSecondStepDataProps; +} & RunProcessFirstStepDataProps; -export type RunProcessPanelRootActionProps = RunProcessFirstStepActionProps & RunProcessSecondStepActionProps; +export type RunProcessPanelRootActionProps = RunProcessFirstStepActionProps & { + runProcess: () => void; +}; type RunProcessPanelRootProps = RunProcessPanelRootDataProps & RunProcessPanelRootActionProps; -export const RunProcessPanelRoot = ({ currentStep, onSearch, onSetStep, onRunProcess, onSetWorkflow, workflows, selectedWorkflow }: RunProcessPanelRootProps) => +export const RunProcessPanelRoot = ({ runProcess, currentStep, onSearch, onSetStep, onSetWorkflow, workflows, selectedWorkflow }: RunProcessPanelRootProps) => Choose a workflow - Select inputs - - {/* */} + onSetStep(0)} + runProcess={runProcess} /> ; \ No newline at end of file