cr change
authorPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Fri, 9 Nov 2018 12:15:56 +0000 (13:15 +0100)
committerPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Fri, 9 Nov 2018 12:15:56 +0000 (13:15 +0100)
Feature #14129

Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>

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;