mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
Merge pull request #1960 from NguyenTranHoangSym/SDA-4321_main
SDA-4321: Pod Url should be synced latest
This commit is contained in:
commit
c6182a902e
@ -1262,7 +1262,6 @@ export class WindowHandler {
|
||||
}
|
||||
const ABOUT_SYMPHONY_NAMESPACE = 'AboutSymphony';
|
||||
const versionLocalised = i18n.t('Version', ABOUT_SYMPHONY_NAMESPACE)();
|
||||
const { hostname } = parse(this.userConfig.url || this.globalConfig.url);
|
||||
const userConfig = config.userConfig;
|
||||
const globalConfig = config.globalConfig;
|
||||
const cloudConfig = config.cloudConfig;
|
||||
@ -1272,15 +1271,18 @@ export class WindowHandler {
|
||||
...userConfig,
|
||||
...filteredConfig,
|
||||
};
|
||||
const host = parse(
|
||||
(userConfig as IConfig).url || (globalConfig as IConfig).url,
|
||||
);
|
||||
const aboutInfo = {
|
||||
userConfig,
|
||||
globalConfig,
|
||||
cloudConfig,
|
||||
finalConfig,
|
||||
hostname,
|
||||
versionLocalised,
|
||||
...versionHandler.versionInfo,
|
||||
client,
|
||||
hostname: host.hostname,
|
||||
};
|
||||
if (this.aboutAppWindow && windowExists(this.aboutAppWindow)) {
|
||||
this.aboutAppWindow.webContents.send('about-app-data', aboutInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user