mirror of
https://github.com/bitwarden/web
synced 2026-01-04 17:43:47 +00:00
null check collection ids filter
This commit is contained in:
@@ -47,7 +47,7 @@ export class CollectionsComponent implements OnInit, OnDestroy {
|
||||
this.selectAll(false);
|
||||
if (this.collectionIds != null) {
|
||||
this.collections.forEach((c) => {
|
||||
(c as any).checked = this.collectionIds.indexOf(c.id) > -1;
|
||||
(c as any).checked = this.collectionIds != null && this.collectionIds.indexOf(c.id) > -1;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user