1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00

Hide credentials that are in the bin (#15034)

This commit is contained in:
Jeffrey Holland
2025-06-03 17:03:59 +02:00
committed by GitHub
parent 2b1f6e473b
commit 0d7154e69c
2 changed files with 3 additions and 2 deletions

View File

@@ -94,7 +94,8 @@ export class Fido2CreateComponent implements OnInit, OnDestroy {
return (
cipher.login.matchesUri(rpid, equivalentDomains) &&
Fido2Utils.cipherHasNoOtherPasskeys(cipher, userHandle)
Fido2Utils.cipherHasNoOtherPasskeys(cipher, userHandle) &&
!cipher.deletedDate
);
});
this.ciphersSubject.next(relevantCiphers);

View File

@@ -80,7 +80,7 @@ export class Fido2VaultComponent implements OnInit, OnDestroy {
this.cipherService
.getAllDecryptedForIds(activeUserId, cipherIds || [])
.then((ciphers) => {
this.ciphersSubject.next(ciphers);
this.ciphersSubject.next(ciphers.filter((cipher) => !cipher.deletedDate));
})
.catch((error) => this.logService.error(error));
});