Skip to content

Commit

Permalink
Add custom resources navbar top lvl entry
Browse files Browse the repository at this point in the history
as discussed in #2226
Signed-off-by: guilhane <guilhane.bourgoin@orange.com>
  • Loading branch information
Guilamb committed Aug 28, 2024
1 parent 6c152f5 commit f7d4557
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions frontend/src/components/Sidebar/prepareRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ function prepareRoutes(
name: 'nodes',
label: t('glossary|Nodes'),
},
{
name: 'crds',
label: t('glossary|Custom Resources'),
subList: [
{
name: 'crs',
label: t('glossary|CR Instances'),
},
],
},
],
},
{
Expand Down Expand Up @@ -240,6 +230,16 @@ function prepareRoutes(
},
],
},
{
name: 'crds',
label: t('glossary|Custom Resources'),
subList: [
{
name: 'crs',
label: t('glossary|CR Instances'),
},
],
},
];

const sidebars: { [key: string]: SidebarItemProps[] } = {
Expand Down

0 comments on commit f7d4557

Please sign in to comment.