Skip to content

Commit

Permalink
fix navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
lenisha committed Sep 14, 2022
1 parent 0dfee93 commit cdf316f
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions ui/app/src/components/root/RootLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,29 @@ export const RootLayout: React.FunctionComponent = () => {
removeWorkspace={(w: Workspace) => removeWorkspace(w)} />
} />
<Route path="/admin" element={<Admin />} />
<Route path="/shared-services/category/data" element={
<CategorySharedServices service_category="Data"/>
<Route path="/shared-services/category/data/*" element={
<Routes>
<Route path="/" element={<CategorySharedServices service_category="Data"/>}/>
<Route path=":sharedServiceId" element={<SharedServiceItem readonly={false}/>} />
</Routes>
} />
<Route path="/shared-services/category/compute" element={
<CategorySharedServices service_category="Compute"/>
<Route path="/shared-services/category/compute/*" element={
<Routes>
<Route path="/" element={<CategorySharedServices service_category="Compute"/>}/>
<Route path=":sharedServiceId" element={<SharedServiceItem readonly={false}/>} />
</Routes>
} />
<Route path="/shared-services/category/training" element={
<CategorySharedServices service_category="TrainingSupport"/>
<Route path="/shared-services/category/training/*" element={
<Routes>
<Route path="/" element={<CategorySharedServices service_category="TrainingSupport"/>}/>
<Route path=":sharedServiceId" element={<SharedServiceItem readonly={false}/>} />
</Routes>
} />
<Route path="/shared-services/category/infrastructure" element={
<CategorySharedServices service_category="Infrastructure"/>
<Route path="/shared-services/category/infrastructure/*" element={
<Routes>
<Route path="/" element={<CategorySharedServices service_category="Infrastructure"/>}/>
<Route path=":sharedServiceId" element={<SharedServiceItem readonly={false}/>} />
</Routes>
} />
<Route path="/shared-services/*" element={
<Routes>
Expand Down

0 comments on commit cdf316f

Please sign in to comment.