From aa0bfd3b454e4af8240f8add1695e3644f7fe5c9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 16 Aug 2019 21:04:03 -0400 Subject: [PATCH] no async on params sub --- src/popup/vault/current-tab.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/popup/vault/current-tab.component.ts b/src/popup/vault/current-tab.component.ts index d93bad7d86..2689347365 100644 --- a/src/popup/vault/current-tab.component.ts +++ b/src/popup/vault/current-tab.component.ts @@ -70,11 +70,11 @@ export class CurrentTabComponent implements OnInit, OnDestroy { private changeDetectorRef: ChangeDetectorRef, private syncService: SyncService, private searchService: SearchService, private storageService: StorageService, route: ActivatedRoute) { - route.params.subscribe(async (val) => { + route.params.subscribe((val) => { console.log('route.params.subscribe'); if (platformUtilsService.getDevice() === DeviceType.SafariExtension) { console.log(val); - await this.init(); + this.init(); } }); }