Merge pull request #1817 from NguyenTranHoangSym/SDA-4113_reflog

SDA-4113: Update the remained commit havent pushed
This commit is contained in:
NguyenTranHoangSym 2023-03-30 15:22:42 +07:00 committed by GitHub
commit eeb88fbdb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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