diff --git a/web/src/components/dashboards/perses/dashboard-list-page.tsx b/web/src/components/dashboards/perses/dashboard-list-page.tsx index 4585fd212..db14c72b6 100644 --- a/web/src/components/dashboards/perses/dashboard-list-page.tsx +++ b/web/src/components/dashboards/perses/dashboard-list-page.tsx @@ -10,6 +10,7 @@ const queryClient = new QueryClient({ queries: { refetchOnWindowFocus: false, retry: false, + keepPreviousData: true, }, }, }); diff --git a/web/src/components/dashboards/perses/dashboard-page.tsx b/web/src/components/dashboards/perses/dashboard-page.tsx index 6c12a6d5a..622acd5c5 100644 --- a/web/src/components/dashboards/perses/dashboard-page.tsx +++ b/web/src/components/dashboards/perses/dashboard-page.tsx @@ -25,6 +25,7 @@ const queryClient = new QueryClient({ queries: { retry: false, refetchOnWindowFocus: false, + keepPreviousData: true, }, }, });