Merge branch 'main' into 21461-excessive-scrollbars-fix
[arvados.git] / services / workbench2 / src / store / process-panel / process-panel-reducer.ts
index 5c1b916c3a95d6972e7b5af39e50feb26592329c..ab95b6ac32aeab1b1e3d416335e23c2ce09bf36e 100644 (file)
@@ -14,6 +14,7 @@ const initialState: ProcessPanel = {
     nodeInfo: null,
     outputDefinitions: [],
     outputParams: null,
+    usageReport: null,
 };
 
 export type OutputDataUpdate = {
@@ -75,5 +76,8 @@ export const processPanelReducer = (state = initialState, action: ProcessPanelAc
         SET_OUTPUT_PARAMS: outputParams => {
             return { ...state, outputParams };
         },
+        SET_USAGE_REPORT: ({ usageReport }) => {
+            return { ...state, usageReport };
+        },
         default: () => state,
     });