1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-30 22:41:33 +01:00

fixed pr comments

This commit is contained in:
gbubemismith 2023-08-30 12:56:28 -04:00
parent 7becb305fe
commit 08c6a302b2
No known key found for this signature in database
2 changed files with 3 additions and 8 deletions

View File

@ -195,8 +195,8 @@ export class BrowserFido2UserInterfaceSession implements Fido2UserInterfaceSessi
);
this.tabClosed$ = fromEventPattern(
(handler: any) => chrome.windows.onRemoved.addListener(handler),
(handler: any) => chrome.windows.onRemoved.removeListener(handler)
(handler: any) => chrome.tabs.onRemoved.addListener(handler),
(handler: any) => chrome.tabs.onRemoved.removeListener(handler)
);
BrowserFido2UserInterfaceSession.sendMessage({
@ -303,7 +303,7 @@ export class BrowserFido2UserInterfaceSession implements Fido2UserInterfaceSessi
this.destroy$.complete();
}
async abort(fallback = false) {
private async abort(fallback = false) {
this.abortController.abort(fallback ? UserRequestedFallbackAbortReason : undefined);
}

View File

@ -144,11 +144,6 @@ export class LoginComponent extends BaseLoginComponent implements OnInit {
}
}
// eslint-disable-next-line rxjs-angular/prefer-takeuntil
ngOnDestroy(): void {
super.ngOnDestroy();
}
async goAfterLogIn() {
const masterPassword = this.formGroup.value.masterPassword;