[arvados] created: 2.7.0-6036-g60fe1d1bba

git repository hosting git at public.arvados.org
Fri Feb 16 16:20:00 UTC 2024


        at  60fe1d1bba234f7f5ce6315062aa0a11e2c45e1a (commit)


commit 60fe1d1bba234f7f5ce6315062aa0a11e2c45e1a
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Feb 16 11:19:45 2024 -0500

    21288: new api request if wf is not in top 100 list Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/store/workflow-panel/workflow-panel-actions.ts b/services/workbench2/src/store/workflow-panel/workflow-panel-actions.ts
index b4c1d3fb7f..37b96bd9b0 100644
--- a/services/workbench2/src/store/workflow-panel/workflow-panel-actions.ts
+++ b/services/workbench2/src/store/workflow-panel/workflow-panel-actions.ts
@@ -51,9 +51,10 @@ export const openRunProcess = (workflowUuid: string, ownerUuid?: string, name?:
     async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
         const response = await services.workflowService.list();
         dispatch(runProcessPanelActions.SET_WORKFLOWS(response.items));
-
+        
         const workflows = getState().runProcessPanel.searchWorkflows;
-        const workflow = workflows.find(workflow => workflow.uuid === workflowUuid);
+        const listedWorkflow = workflows.find(workflow => workflow.uuid === workflowUuid);
+        const workflow = listedWorkflow || await services.workflowService.get(workflowUuid);
         if (workflow) {
             dispatch<any>(navigateToRunProcess);
             dispatch<any>(goToStep(1));

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list