1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-17 07:53:19 +00:00

Fix eslint issues related to state

This commit is contained in:
Addison Beck
2023-12-06 17:52:45 +00:00
parent f71f6db0e5
commit 5bd63c6d90
5 changed files with 29 additions and 17 deletions

View File

@@ -560,10 +560,10 @@ export class StateService
protected async pushAccounts(): Promise<void> {
if (this.state?.accounts == null || Object.keys(this.state.accounts).length < 1) {
this.accounts.next(null);
this.accountsSubject.next(null);
return;
}
this.accounts.next(this.state.accounts);
this.accountsSubject.next(this.state.accounts);
}
protected async hasTemporaryStorage(): Promise<boolean> {