From 1837974e0a86be48b519c9974476f4fb9a995bff Mon Sep 17 00:00:00 2001 From: SmithThe4th Date: Wed, 2 Jul 2025 09:41:35 -0400 Subject: [PATCH] show failed to decrypt dialog when viewing a cipher on desktop (#15405) --- apps/desktop/src/vault/app/vault/vault-v2.component.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/desktop/src/vault/app/vault/vault-v2.component.ts b/apps/desktop/src/vault/app/vault/vault-v2.component.ts index 1248f32d1ac..2d741944071 100644 --- a/apps/desktop/src/vault/app/vault/vault-v2.component.ts +++ b/apps/desktop/src/vault/app/vault/vault-v2.component.ts @@ -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; }