mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 18:43:25 +00:00
This reverts commit 770f782a16.
This commit is contained in:
@@ -70,9 +70,6 @@ export class FakeAccountService implements AccountService {
|
||||
}
|
||||
|
||||
async switchAccount(userId: UserId): Promise<void> {
|
||||
const next =
|
||||
userId == null ? null : { id: userId, ...this.accountsSubject["_buffer"]?.[0]?.[userId] };
|
||||
this.activeAccountSubject.next(next);
|
||||
await this.mock.switchAccount(userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user