1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00: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
2 changed files with 7 additions and 6 deletions

View File

@@ -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>

View File

@@ -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/");
}
}