Justin Rhee 3 лет назад
Родитель
Сommit
54d52a0330
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

@@ -323,7 +323,7 @@ const ChartList: React.FunctionComponent<Props> = ({
     return () => {
       isSubscribed = false;
     };
-  }, [namespace, currentView]);
+  }, [namespace, currentView, context.currentCluster]);
 
   const filteredCharts = useMemo(() => {
     if (!Array.isArray(charts)) {