mirror of
https://github.com/bitwarden/browser
synced 2026-02-17 18:09:17 +00:00
update tests
This commit is contained in:
@@ -154,7 +154,9 @@ export class DefaultDomainSettingsService implements DomainSettingsService {
|
||||
private accountService: AccountService,
|
||||
) {
|
||||
this.autofillTargetingRulesState = this.stateProvider.getActive(AUTOFILL_TARGETING_RULES);
|
||||
this.autofillTargetingRules$ = this.autofillTargetingRulesState.state$.pipe(map((x) => (x && Object.keys(x).length) ? x : {}));
|
||||
this.autofillTargetingRules$ = this.autofillTargetingRulesState.state$.pipe(
|
||||
map((x) => (x && Object.keys(x).length ? x : {})),
|
||||
);
|
||||
|
||||
this.showFaviconsState = this.stateProvider.getGlobal(SHOW_FAVICONS);
|
||||
this.showFavicons$ = this.showFaviconsState.state$.pipe(map((x) => x ?? true));
|
||||
|
||||
Reference in New Issue
Block a user