mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
null check collection ids filter
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: eb48abbcf6...d0ad865060
@@ -409,7 +409,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
async filterCollection(collectionId: string) {
|
async filterCollection(collectionId: string) {
|
||||||
this.ciphersComponent.searchPlaceholder = this.i18nService.t('searchCollection');
|
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.clearFilters();
|
||||||
this.collectionId = collectionId;
|
this.collectionId = collectionId;
|
||||||
this.go();
|
this.go();
|
||||||
|
|||||||
Reference in New Issue
Block a user