Browse Source

update apps + jobs on switch

Justin Rhee 3 years ago
parent
commit
54d52a0330
1 changed files with 1 additions and 1 deletions
  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)) {