mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-26 08:51:22 -06:00
SDA-4158 Update URL if different
This commit is contained in:
parent
c5e171e116
commit
66900b0aab
@ -408,7 +408,10 @@ ipcMain.on(
|
||||
await config.updateUserConfig({
|
||||
browserLoginAutoConnect: arg.browserLoginAutoConnect,
|
||||
});
|
||||
if (!arg.isPodConfigured) {
|
||||
const { url: previousUserConfigURL } = config.getUserConfigFields([
|
||||
'url',
|
||||
]);
|
||||
if (!arg.isPodConfigured || previousUserConfigURL !== arg.newPodUrl) {
|
||||
await config.updateUserConfig({
|
||||
url: arg.newPodUrl,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user