From e0bca66f5e17be8f538c0dea66e49157fa3b8397 Mon Sep 17 00:00:00 2001 From: Shane Melton Date: Wed, 25 Sep 2024 15:47:46 -0700 Subject: [PATCH] [PM-12622] Check that readOnly is falsy not only null (#11248) --- .../src/admin-console/components/collections.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/angular/src/admin-console/components/collections.component.ts b/libs/angular/src/admin-console/components/collections.component.ts index d6801aa155e..93410afaaea 100644 --- a/libs/angular/src/admin-console/components/collections.component.ts +++ b/libs/angular/src/admin-console/components/collections.component.ts @@ -72,7 +72,7 @@ export class CollectionsComponent implements OnInit { if (this.organization.canEditAllCiphers) { return !!(c as any).checked; } else { - return !!(c as any).checked && c.readOnly == null; + return !!(c as any).checked && !c.readOnly; } }) .map((c) => c.id);