SDA-4113: Update Error

This commit is contained in:
NguyenTranHoangSym 2023-03-30 11:27:26 +07:00
parent 66322e2ec5
commit 9f868b0105

View File

@ -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,
});