mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-15 20:11:30 +01:00
[PM-16824] update new device verification notice page one so learn more link opens in browser from desktop (#12731)
This commit is contained in:
parent
dbed5ff79b
commit
5cb31f37e9
@ -1,12 +1,7 @@
|
||||
<form [formGroup]="formGroup" [bitSubmit]="submit">
|
||||
<p class="tw-text-center" bitTypography="body1">
|
||||
{{ "newDeviceVerificationNoticeContentPage1" | i18n }}
|
||||
<a
|
||||
bitLink
|
||||
href="https://bitwarden.com/help/new-device-verification/"
|
||||
rel="noreferrer"
|
||||
target="_blank"
|
||||
>
|
||||
<a bitLink (click)="navigateToNewDeviceVerificationHelp($event)" href="#">
|
||||
{{ "learnMore" | i18n }}.
|
||||
</a>
|
||||
</p>
|
||||
|
@ -121,4 +121,10 @@ export class NewDeviceVerificationNoticePageOneComponent implements OnInit, Afte
|
||||
|
||||
await this.router.navigate(["/vault"]);
|
||||
};
|
||||
|
||||
navigateToNewDeviceVerificationHelp(event: Event) {
|
||||
event.preventDefault();
|
||||
|
||||
this.platformUtilsService.launchUri("https://bitwarden.com/help/new-device-verification/");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user