mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-29 04:03:59 -06:00
ResolveElectronWDIO: Resolve conflict between framework
This commit is contained in:
parent
051cc8d584
commit
126c45f500
@ -437,10 +437,10 @@ export class WindowHandler {
|
|||||||
windowExists(this.mainWindow)
|
windowExists(this.mainWindow)
|
||||||
) {
|
) {
|
||||||
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
this.mainWebContents = await loadBrowserViews(this.mainWindow);
|
||||||
await this.mainWebContents.loadURL(this.url, { userAgent });
|
this.mainWebContents.loadURL(this.url, { userAgent });
|
||||||
await this.mainWindow.loadURL('about:blank', { userAgent });
|
this.mainWindow.loadURL('about:blank', { userAgent });
|
||||||
} else {
|
} else {
|
||||||
await this.mainWindow.loadURL(this.url, { userAgent });
|
this.mainWindow.loadURL(this.url, { userAgent });
|
||||||
this.mainWebContents = this.mainWindow.webContents;
|
this.mainWebContents = this.mainWindow.webContents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user