mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
more fixes
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
1961cf3c05
commit
e6268fc36a
@ -90,7 +90,7 @@ export function buildMenu() {
|
|||||||
label: 'Back',
|
label: 'Back',
|
||||||
accelerator: 'CmdOrCtrl+[',
|
accelerator: 'CmdOrCtrl+[',
|
||||||
click() {
|
click() {
|
||||||
webContents.getFocusedWebContents()?.goBack();
|
webContents.getFocusedWebContents()?.goBack(); // fixme: works until second cluster selected
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -70,13 +70,17 @@ export class ClusterManager extends React.Component {
|
|||||||
}),
|
}),
|
||||||
reaction(() => [
|
reaction(() => [
|
||||||
getMatchedClusterId(),
|
getMatchedClusterId(),
|
||||||
getMatchedCluster()?.available,
|
getMatchedCluster()?.available, // refresh on disconnect active-cluster
|
||||||
], refreshViews, {
|
], refreshViews, {
|
||||||
fireImmediately: true
|
fireImmediately: true
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
componentWillUnmount() {
|
||||||
|
lensViews.clear();
|
||||||
|
}
|
||||||
|
|
||||||
get startUrl() {
|
get startUrl() {
|
||||||
const { activeClusterId } = clusterStore;
|
const { activeClusterId } = clusterStore;
|
||||||
if (activeClusterId) {
|
if (activeClusterId) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user