mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
[bug] Set envUrls after assigning defaults during scaffolding (#627)
This commit is contained in:
@@ -2218,8 +2218,8 @@ export class StateService<TAccount extends Account = Account>
|
|||||||
account.settings = await this.storageService.get<any>(keys.tempAccountSettings);
|
account.settings = await this.storageService.get<any>(keys.tempAccountSettings);
|
||||||
await this.storageService.remove(keys.tempAccountSettings);
|
await this.storageService.remove(keys.tempAccountSettings);
|
||||||
}
|
}
|
||||||
account.settings.environmentUrls = environmentUrls;
|
|
||||||
Object.assign(account.settings, this.createAccount().settings);
|
Object.assign(account.settings, this.createAccount().settings);
|
||||||
|
account.settings.environmentUrls = environmentUrls;
|
||||||
await this.storageService.save(
|
await this.storageService.save(
|
||||||
account.profile.userId,
|
account.profile.userId,
|
||||||
account,
|
account,
|
||||||
|
|||||||
Reference in New Issue
Block a user