1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

fixed pr comments

This commit is contained in:
gbubemismith
2023-08-30 12:56:28 -04:00
parent 7becb305fe
commit 08c6a302b2
2 changed files with 3 additions and 8 deletions

View File

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