From 1a3656ff3d7b1c64039d23a081b2d2cf1acf5bb7 Mon Sep 17 00:00:00 2001 From: Audrius Mecionis Date: Thu, 24 Nov 2022 13:52:41 +0100 Subject: [PATCH] wf-details: remove additional fetchWorkflow call After a hard wf-details refresh it was noticed that fetchWorkflow request is being called twice. This commit fixes this issue --- reana-ui/src/pages/workflowDetails/WorkflowDetails.js | 1 - 1 file changed, 1 deletion(-) diff --git a/reana-ui/src/pages/workflowDetails/WorkflowDetails.js b/reana-ui/src/pages/workflowDetails/WorkflowDetails.js index 8ca93a25..0e67396e 100644 --- a/reana-ui/src/pages/workflowDetails/WorkflowDetails.js +++ b/reana-ui/src/pages/workflowDetails/WorkflowDetails.js @@ -50,7 +50,6 @@ export default function WorkflowDetails() { }, [dispatch, workflowId]); useEffect(() => { - dispatch(fetchWorkflow(workflowId)); if (!interval.current && pollingSecs) { interval.current = setInterval(refetchWorkflow, pollingSecs * 1000); }