mirror of
https://github.com/bitwarden/browser
synced 2026-02-07 04:03:29 +00:00
[PM-18721] add type check
This commit is contained in:
@@ -96,6 +96,10 @@ export class EmergencyAccessTakeoverDialogComponent implements OnInit, AfterView
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
if (!this.inputPasswordComponent) {
|
||||
throw new Error("InputPasswordComponent is not initialized");
|
||||
}
|
||||
|
||||
this.submitting$ = combineLatest([
|
||||
this.submittingBehaviorSubject.asObservable(),
|
||||
this.inputPasswordComponent.submitting$,
|
||||
|
||||
Reference in New Issue
Block a user