mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PM-5991] Updated ordering on account switch to route before clearing state (#7797)
This commit is contained in:
@@ -134,9 +134,9 @@ export class AccountSwitcherComponent implements OnInit, OnDestroy {
|
||||
|
||||
async addAccount() {
|
||||
this.close();
|
||||
await this.stateService.setActiveUser(null);
|
||||
await this.stateService.setRememberedEmail(null);
|
||||
await this.router.navigate(["/login"]);
|
||||
await this.stateService.setActiveUser(null);
|
||||
}
|
||||
|
||||
private async createInactiveAccounts(baseAccounts: {
|
||||
|
||||
Reference in New Issue
Block a user