1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

[PM-8144] Migrate auto-fill policy logic from Tab to new Vault component (#10450)

* little expriment with setting the auto fill policy in the background

* removed unused reference

* removed ng container
This commit is contained in:
SmithThe4th
2024-08-09 11:33:09 -04:00
committed by GitHub
parent 46ecde5d63
commit d1c3ec4a76
7 changed files with 28 additions and 4 deletions

View File

@@ -146,9 +146,8 @@ export class AutofillSettingsService implements AutofillSettingsServiceAbstracti
this.autofillOnPageLoadPolicyToastHasDisplayedState = this.stateProvider.getActive(
AUTOFILL_ON_PAGE_LOAD_POLICY_TOAST_HAS_DISPLAYED,
);
this.autofillOnPageLoadPolicyToastHasDisplayed$ = this.autofillOnPageLoadState.state$.pipe(
map((x) => x ?? false),
);
this.autofillOnPageLoadPolicyToastHasDisplayed$ =
this.autofillOnPageLoadPolicyToastHasDisplayedState.state$.pipe(map((x) => x ?? false));
this.autoCopyTotpState = this.stateProvider.getActive(AUTO_COPY_TOTP);
this.autoCopyTotp$ = this.autoCopyTotpState.state$.pipe(map((x) => x ?? true));