mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
Merge pull request #1817 from NguyenTranHoangSym/SDA-4113_reflog
SDA-4113: Update the remained commit havent pushed
This commit is contained in:
commit
eeb88fbdb1
@ -553,8 +553,9 @@ export class WindowHandler {
|
|||||||
const defaultUrl = 'my.symphony.com';
|
const defaultUrl = 'my.symphony.com';
|
||||||
const podUrl = this.userConfig.url
|
const podUrl = this.userConfig.url
|
||||||
? this.userConfig.url
|
? this.userConfig.url
|
||||||
: !this.globalConfig.url.includes(defaultUrl) &&
|
: !this.globalConfig.url.includes(defaultUrl)
|
||||||
this.globalConfig.url;
|
? this.globalConfig.url
|
||||||
|
: undefined;
|
||||||
this.mainWebContents.send('page-load-welcome', {
|
this.mainWebContents.send('page-load-welcome', {
|
||||||
locale: i18n.getLocale(),
|
locale: i18n.getLocale(),
|
||||||
resources: i18n.loadedResources,
|
resources: i18n.loadedResources,
|
||||||
@ -562,8 +563,8 @@ export class WindowHandler {
|
|||||||
this.mainWebContents.send('welcome', {
|
this.mainWebContents.send('welcome', {
|
||||||
url: podUrl,
|
url: podUrl,
|
||||||
message: '',
|
message: '',
|
||||||
urlValid: !!userConfigUrl,
|
urlValid: !!podUrl,
|
||||||
isPodConfigured: this.isPodConfigured && !!userConfigUrl,
|
isPodConfigured: this.isPodConfigured && !!podUrl,
|
||||||
isBrowserLoginEnabled: this.config.enableBrowserLogin,
|
isBrowserLoginEnabled: this.config.enableBrowserLogin,
|
||||||
browserLoginAutoConnect: this.config.browserLoginAutoConnect,
|
browserLoginAutoConnect: this.config.browserLoginAutoConnect,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user