mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +00:00
Auth/ Fix web route data configuration issues for SSO comp and Accept Emergency comp (#9671)
This commit is contained in:
@@ -222,14 +222,14 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: "sso",
|
path: "sso",
|
||||||
canActivate: [unauthGuardFn()],
|
canActivate: [unauthGuardFn()],
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: "",
|
|
||||||
component: SsoComponent,
|
|
||||||
data: {
|
data: {
|
||||||
pageTitle: "enterpriseSingleSignOn",
|
pageTitle: "enterpriseSingleSignOn",
|
||||||
titleId: "enterpriseSingleSignOn",
|
titleId: "enterpriseSingleSignOn",
|
||||||
} satisfies DataProperties & AnonLayoutWrapperData,
|
} satisfies DataProperties & AnonLayoutWrapperData,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: "",
|
||||||
|
component: SsoComponent,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "",
|
path: "",
|
||||||
@@ -286,14 +286,14 @@ const routes: Routes = [
|
|||||||
{
|
{
|
||||||
path: "accept-emergency",
|
path: "accept-emergency",
|
||||||
canActivate: [deepLinkGuard()],
|
canActivate: [deepLinkGuard()],
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: "",
|
|
||||||
data: {
|
data: {
|
||||||
pageTitle: "emergencyAccess",
|
pageTitle: "emergencyAccess",
|
||||||
titleId: "acceptEmergency",
|
titleId: "acceptEmergency",
|
||||||
doNotSaveUrl: false,
|
doNotSaveUrl: false,
|
||||||
} satisfies DataProperties & AnonLayoutWrapperData,
|
} satisfies DataProperties & AnonLayoutWrapperData,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: "",
|
||||||
loadComponent: () =>
|
loadComponent: () =>
|
||||||
import("./auth/emergency-access/accept/accept-emergency.component").then(
|
import("./auth/emergency-access/accept/accept-emergency.component").then(
|
||||||
(mod) => mod.AcceptEmergencyComponent,
|
(mod) => mod.AcceptEmergencyComponent,
|
||||||
|
|||||||
Reference in New Issue
Block a user