mirror of
https://github.com/bitwarden/browser
synced 2025-01-21 00:38:44 +01:00
parens on ORs
This commit is contained in:
parent
17d2122795
commit
be1e03c49f
@ -72,7 +72,7 @@ export class ListCommand {
|
||||
return true;
|
||||
}
|
||||
const collectionId = cmd.collectionid === 'null' ? null : cmd.collectionid;
|
||||
if (collectionId == null && c.collectionIds == null || c.collectionIds.length === 0) {
|
||||
if (collectionId == null && (c.collectionIds == null || c.collectionIds.length === 0)) {
|
||||
return true;
|
||||
}
|
||||
if (collectionId != null && c.collectionIds != null && c.collectionIds.indexOf(collectionId) > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user