X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/20f7af812af9bd7094ae71d5a7571cfe556eb968..424f5418a6fd9f49baa1cc79bf0b51f9ab65ac58:/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 f399d96481..da21d704d7 100644 --- a/src/views/run-process-panel/run-process-panel-root.tsx +++ b/src/views/run-process-panel/run-process-panel-root.tsx @@ -5,33 +5,36 @@ 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, onSetStep, onRunProcess, onSetWorkflow, workflows, selectedWorkflow }: RunProcessPanelRootProps) => +export const RunProcessPanelRoot = ({ runProcess, currentStep, onSetStep, onSetWorkflow, workflows, selectedWorkflow }: RunProcessPanelRootProps) => Choose a workflow - Select inputs - - {/* */} + onSetStep(0)} + runProcess={runProcess} /> ; \ No newline at end of file