1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

Check undefined data properties before i18n (#9590)

* remove duplicate route

* check for undefined before translation
This commit is contained in:
rr-bw
2024-06-11 12:06:02 -07:00
committed by GitHub
parent 19d863c9ef
commit 9b0250d4fd
2 changed files with 16 additions and 23 deletions

View File

@@ -238,25 +238,6 @@ const routes: Routes = [
},
],
},
{
path: "recover-2fa",
canActivate: [unauthGuardFn()],
children: [
{
path: "",
component: RecoverTwoFactorComponent,
},
{
path: "",
component: EnvironmentSelectorComponent,
outlet: "environment-selector",
},
],
data: {
pageTitle: "recoverAccountTwoStep",
titleId: "recoverAccountTwoStep",
} satisfies DataProperties & AnonLayoutWrapperData,
},
{
path: "remove-password",
component: RemovePasswordComponent,