Add FileViewerActions to file's context menu
[arvados.git] / src / views-components / process-input-dialog / process-input-dialog.tsx
index a639fa88e233550519d7345ee0ef4da046290ba6..bbbd97f535f7cab080e670d4b970e0461bb01f23 100644 (file)
@@ -33,10 +33,10 @@ export const ProcessInputDialog = withDialog(PROCESS_INPUT_DIALOG_NAME)(
 
 const getInputs = (data: any) =>
     data && data.mounts.varLibCwlWorkflowJson ? data.mounts.varLibCwlWorkflowJson.content.graph[1].inputs.map((it: any) => (
-        { type: it.type, id: it.id, label: it.label, value: getValue(it.id, data.mounts.varLibCwlCwlInputJson.content), disabled: true }
+        { type: it.type, id: it.id, label: it.label, value: getInputValue(it.id, data.mounts.varLibCwlCwlInputJson.content), disabled: true }
     )) : [];
 
-const getValue = (id: string, data: any) => {
+const getInputValue = (id: string, data: any) => {
     switch (id) {
         case "#main/example_flag":
             return data.exampleFlag;