mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
b280f4a2dd
commit
1c83fff4db
1 file changed
-6
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user