diff --git a/common/src/services/state.service.ts b/common/src/services/state.service.ts index 446b9fde78..a703fe6bba 100644 --- a/common/src/services/state.service.ts +++ b/common/src/services/state.service.ts @@ -2218,8 +2218,8 @@ export class StateService account.settings = await this.storageService.get(keys.tempAccountSettings); await this.storageService.remove(keys.tempAccountSettings); } - account.settings.environmentUrls = environmentUrls; Object.assign(account.settings, this.createAccount().settings); + account.settings.environmentUrls = environmentUrls; await this.storageService.save( account.profile.userId, account,