diff --git a/ui/src/pages/executions/WorkflowSearch.jsx b/ui/src/pages/executions/WorkflowSearch.jsx index c0697dfc97..68a066db9d 100644 --- a/ui/src/pages/executions/WorkflowSearch.jsx +++ b/ui/src/pages/executions/WorkflowSearch.jsx @@ -93,10 +93,10 @@ export default function WorkflowPanel() { const newQueryFT = buildQuery(); setQueryFT(newQueryFT); - if (oldQueryFT === newQueryFT) { + // Only force refetch if query didn't change. Else let react-query detect difference and refetch automatically + if (_.isEqual(oldQueryFT, newQueryFT)) { refetch(); } - // Only force refetch if query didn't change. Else let react-query detect difference and refetch automatically } const handlePage = (page) => {