1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[PM-5111] Reduce calls to config endpoint (#7069)

* Removed second active account observable and added distinctUntilChanged.

* Updated comment.
This commit is contained in:
Todd Martin
2023-12-06 11:21:29 -05:00
committed by GitHub
parent 0aca876b75
commit 299a880cba
2 changed files with 3 additions and 2 deletions

View File

@@ -224,7 +224,6 @@ export class StateService<
email: account.profile.email,
});
await this.setActiveUser(account.profile.userId);
this.activeAccountSubject.next(account.profile.userId);
}
async setActiveUser(userId: string): Promise<void> {