mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 01:11:13 -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({
|
await config.updateUserConfig({
|
||||||
browserLoginAutoConnect: arg.browserLoginAutoConnect,
|
browserLoginAutoConnect: arg.browserLoginAutoConnect,
|
||||||
});
|
});
|
||||||
if (!arg.isPodConfigured) {
|
const { url: previousUserConfigURL } = config.getUserConfigFields([
|
||||||
|
'url',
|
||||||
|
]);
|
||||||
|
if (!arg.isPodConfigured || previousUserConfigURL !== arg.newPodUrl) {
|
||||||
await config.updateUserConfig({
|
await config.updateUserConfig({
|
||||||
url: arg.newPodUrl,
|
url: arg.newPodUrl,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user