mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
1961cf3c05
commit
e6268fc36a
2 files changed
+6
-2
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user