mirror of
https://github.com/bitwarden/browser
synced 2025-01-06 15:38:42 +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 changeDetectorRef: ChangeDetectorRef, private syncService: SyncService,
|
||||||
private searchService: SearchService, private storageService: StorageService,
|
private searchService: SearchService, private storageService: StorageService,
|
||||||
route: ActivatedRoute) {
|
route: ActivatedRoute) {
|
||||||
route.params.subscribe(async (val) => {
|
route.params.subscribe((val) => {
|
||||||
console.log('route.params.subscribe');
|
console.log('route.params.subscribe');
|
||||||
if (platformUtilsService.getDevice() === DeviceType.SafariExtension) {
|
if (platformUtilsService.getDevice() === DeviceType.SafariExtension) {
|
||||||
console.log(val);
|
console.log(val);
|
||||||
await this.init();
|
this.init();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user