X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/20844fff7469abc3caaf0e14c05741e0acc62611..4b6229be6902538496c8afd2fac0fef1155193ca:/src/views-components/process-input-dialog/process-input-dialog.tsx

diff --git a/src/views-components/process-input-dialog/process-input-dialog.tsx b/src/views-components/process-input-dialog/process-input-dialog.tsx
index a2d59407..bc3f7ca9 100644
--- a/src/views-components/process-input-dialog/process-input-dialog.tsx
+++ b/src/views-components/process-input-dialog/process-input-dialog.tsx
@@ -36,15 +36,14 @@ export const ProcessInputDialog = withDialog(PROCESS_INPUT_DIALOG_NAME)(
 const getInputs = (data: any) => {
     if (!data || !data.mounts || !data.mounts[MOUNT_PATH_CWL_WORKFLOW]) { return []; }
     const inputs = getWorkflowInputs(data.mounts[MOUNT_PATH_CWL_WORKFLOW].content);
-    return inputs ? inputs.map(
-        (it: any) => (
+    return inputs
+        ? inputs.map( (it: any) => (
             {
                 type: it.type,
                 id: it.id,
                 label: it.label,
-                value: data.mounts[MOUNT_PATH_CWL_INPUT].content[it.id],
+                value: data.mounts[MOUNT_PATH_CWL_INPUT].content[it.id.split('/').pop()] || [],
                 disabled: true
-            }
-        )
-    ) : [];
+            }))
+        : [];
 };
