null check collection ids filter
This commit is contained in:
parent
b9bb45ec92
commit
ab35a49dbe
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit eb48abbcf659ae20b2d0627467bccb56c272132e
|
||||
Subproject commit d0ad8650605ec506704ed76f13f40fd4d33cffcd
|
|
@ -409,7 +409,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||
|
||||
async filterCollection(collectionId: string) {
|
||||
this.ciphersComponent.searchPlaceholder = this.i18nService.t('searchCollection');
|
||||
await this.ciphersComponent.load((c) => c.collectionIds.indexOf(collectionId) > -1);
|
||||
await this.ciphersComponent.load((c) => c.collectionIds != null && c.collectionIds.indexOf(collectionId) > -1);
|
||||
this.clearFilters();
|
||||
this.collectionId = collectionId;
|
||||
this.go();
|
||||
|
|
Loading…
Reference in New Issue