no async on params sub

This commit is contained in:
Kyle Spearrin 2019-08-16 21:04:03 -04:00
parent 3719095b18
commit aa0bfd3b45
1 changed files with 2 additions and 2 deletions

View File

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