1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-02 08:40:08 +01:00

no async on params sub

This commit is contained in:
Kyle Spearrin 2019-08-16 21:04:03 -04:00
parent 3719095b18
commit aa0bfd3b45

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