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:
parent
3719095b18
commit
aa0bfd3b45
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user