From 5410e4232266f4bc6767afa5972b5316283c7ac3 Mon Sep 17 00:00:00 2001 From: Nick Krantz <125900171+nick-livefront@users.noreply.github.com> Date: Mon, 28 Jul 2025 13:05:07 -0500 Subject: [PATCH] use bang operator to check for the presence of an organizationId. (#15802) strict equality with `null` doesn't work with the SDK as `undefined` is populated rather than `null` --- .../app/vault/components/vault-items/vault-items.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/vault/components/vault-items/vault-items.component.ts b/apps/web/src/app/vault/components/vault-items/vault-items.component.ts index ebee57878d..8be2b12945 100644 --- a/apps/web/src/app/vault/components/vault-items/vault-items.component.ts +++ b/apps/web/src/app/vault/components/vault-items/vault-items.component.ts @@ -566,7 +566,7 @@ export class VaultItemsComponent { } private hasPersonalItems(): boolean { - return this.selection.selected.some(({ cipher }) => cipher?.organizationId === null); + return this.selection.selected.some(({ cipher }) => !cipher?.organizationId); } private allCiphersHaveEditAccess(): boolean {