[bug] Set envUrls after assigning defaults during scaffolding (#627)
This commit is contained in:
parent
9b0e5ae456
commit
074f1ee7b7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue