[bug] Set envUrls after assigning defaults during scaffolding (#627)

This commit is contained in:
Addison Beck 2022-01-21 13:35:14 -05:00 committed by GitHub
parent 9b0e5ae456
commit 074f1ee7b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2218,8 +2218,8 @@ export class StateService<TAccount extends Account = Account>
account.settings = await this.storageService.get<any>(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,