[arvados-workbench2] updated: 2.4.0-315-g204ebb16

git repository hosting git at public.arvados.org
Mon Oct 24 16:15:08 UTC 2022


Summary of changes:
 src/views/process-panel/process-panel-root.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  204ebb162f8d003e6962e555ba376842cc4df13d (commit)
      from  868a6881bba9107eaf25e2b055dec55bf1fda42d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 204ebb162f8d003e6962e555ba376842cc4df13d
Author: Stephen Smith <stephen at curii.com>
Date:   Mon Oct 24 12:14:53 2022 -0400

    16073: Fix compiler warnings
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/views/process-panel/process-panel-root.tsx b/src/views/process-panel/process-panel-root.tsx
index 5dd7c6d0..6217181c 100644
--- a/src/views/process-panel/process-panel-root.tsx
+++ b/src/views/process-panel/process-panel-root.tsx
@@ -109,7 +109,7 @@ export const ProcessPanelRoot = withStyles(styles)(
             }
             setProcessedOutputs(formatOutputData(outputDefinitions, outputDetails.rawOutputs, outputDetails.pdh, auth));
         }
-    }, [outputDetails, auth, containerRequest]);
+    }, [outputDetails, auth, containerRequest, outputDefinitions]);
 
     // Fetch raw inputs and format into ProcessIOParameter[]
     //   Can be sync because inputs are either already in containerRequest mounts or props
@@ -117,15 +117,15 @@ export const ProcessPanelRoot = withStyles(styles)(
         if (containerRequest) {
             // Since mounts can disappear and reappear, only set inputs if raw / processed inputs is undefined or new inputs has content
             const newRawInputs = getRawInputs(containerRequest);
-            if (rawInputs === undefined || newRawInputs && newRawInputs.length) {
+            if (rawInputs === undefined || (newRawInputs && newRawInputs.length)) {
                 setInputs(newRawInputs);
             }
             const newInputs = getInputs(containerRequest);
-            if (processedInputs === undefined || newInputs && newInputs.length) {
+            if (processedInputs === undefined || (newInputs && newInputs.length)) {
                 setProcessedInputs(formatInputData(newInputs, auth));
             }
         }
-    }, [requestUuid, auth, containerRequest]);
+    }, [requestUuid, auth, containerRequest, processedInputs, rawInputs]);
 
     return process
         ? <MPVContainer className={props.classes.root} spacing={8} panelStates={panelsData}  justify-content="flex-start" direction="column" wrap="nowrap">

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list