mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
Add isLoginWithPasskeySupported function to reduce client type checking in template.
This commit is contained in:
@@ -375,6 +375,10 @@ export class LoginComponent implements OnInit, OnDestroy {
|
||||
this.loginEmailService.setLoginEmail(this.formGroup.value.email);
|
||||
}
|
||||
|
||||
isLoginWithPasskeySupported() {
|
||||
return this.loginComponentService.isLoginWithPasskeySupported();
|
||||
}
|
||||
|
||||
protected async goToHint(): Promise<void> {
|
||||
await this.saveEmailSettings();
|
||||
await this.router.navigateByUrl("/hint");
|
||||
|
||||
Reference in New Issue
Block a user