File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,19 @@ export const routes = createRoutesFromElements(
129129 path = ":silo"
130130 lazy = { ( ) => import ( './pages/system/silos/SiloPage' ) . then ( convert ) }
131131 >
132+ { /* Nesting keeps IdPs tab contents rendered when side modals are open*/ }
132133 < Route index element = { < Navigate to = "idps" replace /> } />
133- < Route
134- path = "idps"
135- lazy = { ( ) => import ( './pages/system/silos/SiloIdpsTab' ) . then ( convert ) }
136- />
134+ < Route lazy = { ( ) => import ( './pages/system/silos/SiloIdpsTab' ) . then ( convert ) } >
135+ < Route path = "idps" element = { null } />
136+ < Route
137+ path = "idps-new"
138+ lazy = { ( ) => import ( './forms/idp/create' ) . then ( convert ) }
139+ />
140+ < Route
141+ path = "idps/saml/:provider"
142+ lazy = { ( ) => import ( './forms/idp/edit' ) . then ( convert ) }
143+ />
144+ </ Route >
137145 < Route
138146 path = "ip-pools"
139147 lazy = { ( ) => import ( './pages/system/silos/SiloIpPoolsTab' ) . then ( convert ) }
@@ -146,14 +154,6 @@ export const routes = createRoutesFromElements(
146154 path = "fleet-roles"
147155 lazy = { ( ) => import ( './pages/system/silos/SiloFleetRolesTab' ) . then ( convert ) }
148156 />
149- < Route
150- path = "idps-new"
151- lazy = { ( ) => import ( './forms/idp/create' ) . then ( convert ) }
152- />
153- < Route
154- path = "idps/saml/:provider"
155- lazy = { ( ) => import ( './forms/idp/edit' ) . then ( convert ) }
156- />
157157 </ Route >
158158 </ Route >
159159 < Route path = "issues" element = { null } />
You can’t perform that action at this time.
0 commit comments