Dont refetch workflow parameters on window focus (#1094)

This commit is contained in:
Shuchang Zheng
2024-10-30 12:02:18 -07:00
committed by GitHub
parent 8762865a0b
commit 326e749f83

View File

@@ -19,6 +19,7 @@ function WorkflowRunParameters() {
.get(`/workflows/${workflowPermanentId}`)
.then((response) => response.data);
},
refetchOnWindowFocus: false,
});
const workflowParameters = workflow?.workflow_definition.parameters.filter(