1
0
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:
Jason Ng 2025-01-07 15:10:42 -05:00 committed by GitHub
parent dbed5ff79b
commit 5cb31f37e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View File

@ -1,12 +1,7 @@
<form [formGroup]="formGroup" [bitSubmit]="submit"> <form [formGroup]="formGroup" [bitSubmit]="submit">
<p class="tw-text-center" bitTypography="body1"> <p class="tw-text-center" bitTypography="body1">
{{ "newDeviceVerificationNoticeContentPage1" | i18n }} {{ "newDeviceVerificationNoticeContentPage1" | i18n }}
<a <a bitLink (click)="navigateToNewDeviceVerificationHelp($event)" href="#">
bitLink
href="https://bitwarden.com/help/new-device-verification/"
rel="noreferrer"
target="_blank"
>
{{ "learnMore" | i18n }}. {{ "learnMore" | i18n }}.
</a> </a>
</p> </p>

View File

@ -121,4 +121,10 @@ export class NewDeviceVerificationNoticePageOneComponent implements OnInit, Afte
await this.router.navigate(["/vault"]); await this.router.navigate(["/vault"]);
}; };
navigateToNewDeviceVerificationHelp(event: Event) {
event.preventDefault();
this.platformUtilsService.launchUri("https://bitwarden.com/help/new-device-verification/");
}
} }