mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
call init functions rather than super
This commit is contained in:
@@ -31,7 +31,7 @@ export class ShareComponent extends BaseShareComponent {
|
||||
});
|
||||
const queryParamsSub = this.route.queryParams.subscribe(async (params) => {
|
||||
this.cipherId = params.cipherId;
|
||||
await super.ngOnInit();
|
||||
await this.load();
|
||||
if (queryParamsSub != null) {
|
||||
queryParamsSub.unsubscribe();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user