mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
clean up
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
b280f4a2dd
commit
1c83fff4db
@ -58,12 +58,6 @@ export class WindowManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getClusterView(clusterId: ClusterId): WebContents {
|
|
||||||
return webContents.getAllWebContents().find(view => {
|
|
||||||
return new URL(view.getURL()).host.split(".")[0] === clusterId;
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
async showMain() {
|
async showMain() {
|
||||||
try {
|
try {
|
||||||
await this.showSplash();
|
await this.showSplash();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user