mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
null checks on query param sub
This commit is contained in:
@@ -50,7 +50,9 @@ export class ViewComponent extends BaseViewComponent {
|
||||
}
|
||||
|
||||
await this.load();
|
||||
queryParamsSub.unsubscribe();
|
||||
if (queryParamsSub != null) {
|
||||
queryParamsSub.unsubscribe();
|
||||
}
|
||||
});
|
||||
super.ngOnInit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user