more fixes

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-08-10 20:06:47 +03:00
1 parent 1961cf3c05
commit e6268fc36a
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ export function buildMenu() {
label: 'Back',
accelerator: 'CmdOrCtrl+[',
click() {
webContents.getFocusedWebContents()?.goBack();
webContents.getFocusedWebContents()?.goBack(); // fixme: works until second cluster selected
}
},
{
@@ -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) {