1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-01 09:13:54 +00:00

Don't try to sync FIDO credentials while decrypting

This commit is contained in:
Isaiah Inuwa
2025-11-11 13:18:47 -06:00
parent bf8297cf1e
commit b09d2cfcaf

View File

@@ -83,9 +83,9 @@ export class DesktopAutofillService implements OnDestroy {
switchMap(([userId]) => this.cipherService.cipherViews$(userId)),
);
}),
debounceTime(100), // just a precaution to not spam the sync if there are multiple changes (we typically observe a null change)
// No filter for empty arrays here - we want to sync even if there are 0 items
filter((cipherViewMap) => cipherViewMap !== null),
debounceTime(100), // just a precaution to not spam the sync if there are multiple changes
mergeMap((cipherViewMap) => this.sync(Object.values(cipherViewMap ?? []))),
takeUntil(this.destroy$),