Merge branch '19715-preserve-url-autologout' into main. Closes #19715
[arvados.git] / src / store / process-panel / process-panel-actions.ts
index 71cb83a151fb9211b523592f20f3fe6833516f17..b361f7acae0cbd8478fc7ed4896be92467863601 100644 (file)
@@ -21,8 +21,6 @@ import { CommandInputParameter, getIOParamId, WorkflowInputsData } from 'models/
 import { getIOParamDisplayValue, ProcessIOParameter } from "views/process-panel/process-io-card";
 import { OutputDetails, NodeInstanceType, NodeInfo } from "./process-panel";
 import { AuthState } from "store/auth/auth-reducer";
-import { CommonService } from "services/common-service/common-service";
-import { camelCase } from "lodash";
 
 export const processPanelActions = unionize({
     RESET_PROCESS_PANEL: ofType<{}>(),
@@ -114,17 +112,16 @@ export const loadNodeJson = (containerRequest: ContainerRequestResource) =>
             return;
         };
         try {
-            const propsOutputs = getRawOutputs(containerRequest);
             const filesPromise = services.collectionService.files(containerRequest.logUuid);
             const collectionPromise = services.collectionService.get(containerRequest.logUuid);
-            const [files, collection] = await Promise.all([filesPromise, collectionPromise]);
+            const [files] = await Promise.all([filesPromise, collectionPromise]);
 
             // Fetch node.json from keep
             const nodeFile = files.find((file) => file.name === 'node.json') as CollectionFile | undefined;
             let nodeData = nodeFile ? await services.collectionService.getFileContents(nodeFile) : undefined;
             if (nodeData && (nodeData = JSON.parse(nodeData))) {
                 dispatch<ProcessPanelAction>(processPanelActions.SET_NODE_INFO({
-                    nodeInfo: CommonService.mapKeys(camelCase)(nodeData) as NodeInstanceType
+                    nodeInfo: nodeData as NodeInstanceType
                 }));
             } else {
                 dispatch<ProcessPanelAction>(processPanelActions.SET_NODE_INFO(noLog));