From 538afd752945384ade8d707e7a8d90f20b1e3401 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 2 Feb 2019 09:39:11 -0500 Subject: [PATCH] use this, not super --- jslib | 2 +- src/popup/vault/ciphers.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jslib b/jslib index 9e97b1e6564..e7f4dccfc3d 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 9e97b1e65641452ec8ae2d2e1fca4bfddcd769b7 +Subproject commit e7f4dccfc3de2e3829ee09a5e9b439c9c52660f9 diff --git a/src/popup/vault/ciphers.component.ts b/src/popup/vault/ciphers.component.ts index 696b9c74f7c..ccf93766166 100644 --- a/src/popup/vault/ciphers.component.ts +++ b/src/popup/vault/ciphers.component.ts @@ -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();