1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

use this, not super

This commit is contained in:
Kyle Spearrin
2019-02-02 09:39:11 -05:00
parent 2f0d3af23f
commit 538afd7529
2 changed files with 5 additions and 5 deletions

2
jslib

Submodule jslib updated: 9e97b1e656...e7f4dccfc3

View File

@@ -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();