mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
show failed to decrypt dialog when viewing a cipher on desktop (#15405)
This commit is contained in:
@@ -388,6 +388,13 @@ export class VaultV2Component implements OnInit, OnDestroy, CopyClickListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async viewCipher(cipher: CipherView) {
|
async viewCipher(cipher: CipherView) {
|
||||||
|
if (cipher.decryptionFailure) {
|
||||||
|
DecryptionFailureDialogComponent.open(this.dialogService, {
|
||||||
|
cipherIds: [cipher.id as CipherId],
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (await this.shouldReprompt(cipher, "view")) {
|
if (await this.shouldReprompt(cipher, "view")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user