static: fix sidebar paths

This commit is contained in:
Jens Langhammer 2020-11-22 20:45:54 +01:00
parent b770508d68
commit 4b4a49bc66
3 changed files with 24 additions and 19 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -42,36 +42,36 @@ export const SIDEBAR_ITEMS: SidebarItem[] = [
children: [ children: [
{ {
name: "Overview", name: "Overview",
path: "administration/overview", path: "/administration/overview/",
}, },
{ {
name: "System Tasks", name: "System Tasks",
path: "administration/tasks", path: "/administration/tasks/",
}, },
], ],
}, },
{ {
name: "Applications", name: "Applications",
path: "administration/applications", path: "/administration/applications/",
}, },
{ {
name: "Sources", name: "Sources",
path: "administration/sources", path: "/administration/sources/",
}, },
{ {
name: "Providers", name: "Providers",
path: "administration/providers", path: "/administration/providers/",
}, },
{ {
name: "User Management", name: "User Management",
children: [ children: [
{ {
name: "User", name: "User",
path: "administration/users", path: "/administration/users/",
}, },
{ {
name: "Groups", name: "Groups",
path: "administration/groups", path: "/administration/groups/",
}, },
], ],
}, },
@ -80,50 +80,50 @@ export const SIDEBAR_ITEMS: SidebarItem[] = [
children: [ children: [
{ {
name: "Outposts", name: "Outposts",
path: "administration/outposts", path: "/administration/outposts/",
}, },
{ {
name: "Service Connections", name: "Service Connections",
path: "administration/outposts/service_connections", path: "/administration/outposts/service_connections/",
}, },
], ],
}, },
{ {
name: "Policies", name: "Policies",
path: "administration/policies", path: "/administration/policies/",
}, },
{ {
name: "Property Mappings", name: "Property Mappings",
path: "administration/property-mappings/", path: "/administration/property-mappings/",
}, },
{ {
name: "Flows", name: "Flows",
children: [ children: [
{ {
name: "Flows", name: "Flows",
path: "administration/flows", path: "/administration/flows/",
}, },
{ {
name: "Stages", name: "Stages",
path: "administration/stages", path: "/administration/stages/",
}, },
{ {
name: "Prompts", name: "Prompts",
path: "administration/stages/prompts", path: "/administration/stages/prompts/",
}, },
{ {
name: "Invitations", name: "Invitations",
path: "administration/stages/invitations", path: "/administration/stages/invitations/",
}, },
], ],
}, },
{ {
name: "Certificates", name: "Certificates",
path: "administration/crypto/certificates", path: "/administration/crypto/certificates/",
}, },
{ {
name: "Tokens", name: "Tokens",
path: "administration/tokens", path: "/administration/tokens/",
}, },
], ],
condition: (sb: Sidebar) => { condition: (sb: Sidebar) => {