mirror of
https://github.com/bitwarden/web
synced 2025-12-22 11:13:40 +00:00
null check collection ids filter
This commit is contained in:
@@ -152,7 +152,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
if (collectionId === 'unassigned') {
|
||||
return c.collectionIds == null || c.collectionIds.length === 0;
|
||||
} else {
|
||||
return c.collectionIds.indexOf(collectionId) > -1;
|
||||
return c.collectionIds != null && c.collectionIds.indexOf(collectionId) > -1;
|
||||
}
|
||||
};
|
||||
if (load) {
|
||||
|
||||
Reference in New Issue
Block a user