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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user