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

show failed to decrypt dialog when viewing a cipher on desktop (#15405)

This commit is contained in:
SmithThe4th
2025-07-02 09:41:35 -04:00
committed by GitHub
parent 5497063e7e
commit 1837974e0a

View File

@@ -388,6 +388,13 @@ export class VaultV2Component implements OnInit, OnDestroy, CopyClickListener {
}
async viewCipher(cipher: CipherView) {
if (cipher.decryptionFailure) {
DecryptionFailureDialogComponent.open(this.dialogService, {
cipherIds: [cipher.id as CipherId],
});
return;
}
if (await this.shouldReprompt(cipher, "view")) {
return;
}