mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
[PM-12622] Check that readOnly is falsy not only null (#11248)
This commit is contained in:
@@ -72,7 +72,7 @@ export class CollectionsComponent implements OnInit {
|
|||||||
if (this.organization.canEditAllCiphers) {
|
if (this.organization.canEditAllCiphers) {
|
||||||
return !!(c as any).checked;
|
return !!(c as any).checked;
|
||||||
} else {
|
} else {
|
||||||
return !!(c as any).checked && c.readOnly == null;
|
return !!(c as any).checked && !c.readOnly;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.map((c) => c.id);
|
.map((c) => c.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user