Skip to content

Commit

Permalink
Merge pull request finos#1960 from NguyenTranHoangSym/SDA-4321_main
Browse files Browse the repository at this point in the history
SDA-4321: Pod Url should be synced latest
  • Loading branch information
NguyenTranHoangSym authored Oct 3, 2023
2 parents 5d07320 + 634788b commit c6182a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/window-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit c6182a9

Please sign in to comment.