1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { RunProcessPanelAction, runProcessPanelActions } from '~/store/run-process-panel/run-process-panel-actions';
7 interface RunProcessPanel {
11 const initialState: RunProcessPanel = {
15 export const runProcessPanelReducer = (state = initialState, action: RunProcessPanelAction): RunProcessPanel =>
16 runProcessPanelActions.match(action, {
17 SET_CURRENT_STEP: currentStep => ({ ...state, currentStep }),