mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
[PM-12622] Check that readOnly is falsy not only null (#11248)
This commit is contained in:
parent
077abe0518
commit
e0bca66f5e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user