diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index e9e74ec8..4a56ff26 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -553,8 +553,9 @@ export class WindowHandler { const defaultUrl = 'my.symphony.com'; const podUrl = this.userConfig.url ? this.userConfig.url - : !this.globalConfig.url.includes(defaultUrl) && - this.globalConfig.url; + : !this.globalConfig.url.includes(defaultUrl) + ? this.globalConfig.url + : undefined; this.mainWebContents.send('page-load-welcome', { locale: i18n.getLocale(), resources: i18n.loadedResources, @@ -562,8 +563,8 @@ export class WindowHandler { this.mainWebContents.send('welcome', { url: podUrl, message: '', - urlValid: !!userConfigUrl, - isPodConfigured: this.isPodConfigured && !!userConfigUrl, + urlValid: !!podUrl, + isPodConfigured: this.isPodConfigured && !!podUrl, isBrowserLoginEnabled: this.config.enableBrowserLogin, browserLoginAutoConnect: this.config.browserLoginAutoConnect, });