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',
|
||||
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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user