From 326cd406284a1348ac854059ea7f9da1af313a8a Mon Sep 17 00:00:00 2001 From: Nick Krantz <125900171+nick-livefront@users.noreply.github.com> Date: Thu, 30 Oct 2025 15:44:49 -0500 Subject: [PATCH] cipher.id now defaults to an empty string rather than null/undefined - use bang to transform into a boolean (#17137) --- apps/desktop/src/vault/app/vault/vault-v2.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 19c9cffeeb2..bdade04bacd 100644 --- a/apps/desktop/src/vault/app/vault/vault-v2.component.ts +++ b/apps/desktop/src/vault/app/vault/vault-v2.component.ts @@ -792,7 +792,7 @@ export class VaultV2Component async cancelCipher(cipher: CipherView) { this.cipherId = cipher.id; this.cipher = cipher; - this.action = this.cipherId != null ? "view" : null; + this.action = this.cipherId ? "view" : null; await this.go().catch(() => {}); }