16073: Refactor process io loading into actions and reducers to eliminate infinite...
[arvados-workbench2.git] / src / store / processes / processes-actions.ts
index 1deb4cb87c2cbc21fa77a94450d8b2566241a672..458efa205f44104d59b9a20862215fa7ff131b06 100644 (file)
@@ -147,6 +147,7 @@ export const getRawInputs = (data: any): CommandInputParameter[] | undefined =>
 }
 
 export const getInputs = (data: any): CommandInputParameter[] => {
+    // Definitions from mounts are needed so we return early if missing
     if (!data || !data.mounts || !data.mounts[MOUNT_PATH_CWL_WORKFLOW]) { return []; }
     const content  = getRawInputs(data) as any;
     if (!content) { return []; }