From 3041ddbf0952bdf590279bd74a034aa9520771b7 Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Tue, 2 Jul 2024 16:41:57 -0700 Subject: [PATCH] [PM-7162] Fix broken getter when original cipher is null (#9927) --- .../popup/components/vault-v2/add-edit/add-edit-v2.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/browser/src/vault/popup/components/vault-v2/add-edit/add-edit-v2.component.ts b/apps/browser/src/vault/popup/components/vault-v2/add-edit/add-edit-v2.component.ts index f447c0864d..52f174f9e5 100644 --- a/apps/browser/src/vault/popup/components/vault-v2/add-edit/add-edit-v2.component.ts +++ b/apps/browser/src/vault/popup/components/vault-v2/add-edit/add-edit-v2.component.ts @@ -104,7 +104,7 @@ export class AddEditV2Component { } get originalCipherId(): CipherId | null { - return this.config?.originalCipher.id as CipherId; + return this.config?.originalCipher?.id as CipherId; } constructor(