1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-08 05:47:50 +02:00

[PM-12622] Check that readOnly is falsy not only null (#11248)

This commit is contained in:
Shane Melton 2024-09-25 15:47:46 -07:00 committed by GitHub
parent 077abe0518
commit e0bca66f5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);