1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-17 18:09:17 +00:00

update tests

This commit is contained in:
Jonathan Prusik
2025-10-20 12:40:39 -04:00
parent a15070f093
commit 7c07cbb145
6 changed files with 61 additions and 18 deletions

View File

@@ -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));