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(() => {}); }