mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-19 11:15:21 +01:00
use this, not super
This commit is contained in:
parent
2f0d3af23f
commit
538afd7529
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 9e97b1e65641452ec8ae2d2e1fca4bfddcd769b7
|
||||
Subproject commit e7f4dccfc3de2e3829ee09a5e9b439c9c52660f9
|
@ -92,7 +92,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
|
||||
default:
|
||||
break;
|
||||
}
|
||||
await super.load((c) => c.type === this.type);
|
||||
await this.load((c) => c.type === this.type);
|
||||
} else if (params.folderId) {
|
||||
this.folderId = params.folderId === 'none' ? null : params.folderId;
|
||||
this.searchPlaceholder = this.i18nService.t('searchFolder');
|
||||
@ -106,7 +106,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
|
||||
} else {
|
||||
this.groupingTitle = this.i18nService.t('noneFolder');
|
||||
}
|
||||
await super.load((c) => c.folderId === this.folderId);
|
||||
await this.load((c) => c.folderId === this.folderId);
|
||||
} else if (params.collectionId) {
|
||||
this.collectionId = params.collectionId;
|
||||
this.searchPlaceholder = this.i18nService.t('searchCollection');
|
||||
@ -116,10 +116,10 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
|
||||
this.nestedCollections = collectionNode.children != null && collectionNode.children.length > 0 ?
|
||||
collectionNode.children : null;
|
||||
}
|
||||
await super.load((c) => c.collectionIds != null && c.collectionIds.indexOf(this.collectionId) > -1);
|
||||
await this.load((c) => c.collectionIds != null && c.collectionIds.indexOf(this.collectionId) > -1);
|
||||
} else {
|
||||
this.groupingTitle = this.i18nService.t('allItems');
|
||||
await super.load();
|
||||
await this.load();
|
||||
}
|
||||
|
||||
this.loadMore();
|
||||
|
Loading…
Reference in New Issue
Block a user