more fixes

Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Roman authored and Lauri Nevala committed 2020-08-18 11:53:25 +03:00
1 parent 4ef26bec58
commit d2be0e450b
2 files changed
+6 -2

No files matched your search

@@ -70,13 +70,17 @@ export class ClusterManager extends React.Component {
}),
reaction(() => [
getMatchedClusterId(),
getMatchedCluster()?.available,
getMatchedCluster()?.available, // refresh on disconnect active-cluster
], refreshViews, {
fireImmediately: true
})
])
}
componentWillUnmount() {
lensViews.clear();
}
get startUrl() {
const { activeClusterId } = clusterStore;
if (activeClusterId) {