1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-07 11:03:23 +00:00

[AC-1743] pt. 2: Update eslintrc and fix any errors (#393)

* Sync eslintrc with clients repo

* Autofix one eslint error

* Add type attributes to buttons for eslint

* Properly destroy ApiKeyComponent

* Fix eslint issues related to state

* Fix eslint warnings for default named imports

* Ran prettier

* Be more proactive about an unsubscribe

* Rework subscription
This commit is contained in:
Addison Beck
2024-01-04 19:36:19 -06:00
committed by GitHub
parent 95f613d61a
commit eacdb6b8a8
23 changed files with 794 additions and 79 deletions

View File

@@ -561,10 +561,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> {