2
0
Эх сурвалжийг харах

Use pushQueryParams to avoid unnecesary refreshes

jnfrati 4 жил өмнө
parent
commit
bf9511f565

+ 1 - 1
dashboard/src/shared/hooks/useChart.ts

@@ -274,7 +274,7 @@ export const useChart = (oldChart: ChartType, closeChart: () => void) => {
         )
         .then((res) => res.data);
 
-      pushFiltered(matchUrl, ["project_id", "job"], {
+      pushQueryParams({
         chart_revision: newChart.version,
       });