Преглед изворни кода

Added currentView to refetch data for charts

Nicolas Frati пре 4 година
родитељ
комит
ecb2f510be
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dashboard/src/main/home/cluster-dashboard/chart/ChartList.tsx

+ 1 - 1
dashboard/src/main/home/cluster-dashboard/chart/ChartList.tsx

@@ -232,7 +232,7 @@ const ChartList: React.FunctionComponent<PropsType> = ({
       });
     }
     return () => (isSubscribed = false);
-  }, [namespace]);
+  }, [namespace, currentView]);
 
   const renderChartList = () => {
     if (isLoading || (!namespace && namespace !== "")) {