Skip to content

Commit

Permalink
chore: Rearrange Editor menu items (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Jul 17, 2024
1 parent 81fd176 commit e81f06c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions editor.planx.uk/src/components/EditorNavMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,18 @@ function EditorNavMenu() {
route: "/",
accessibleBy: ["platformAdmin", "teamEditor", "teamViewer"],
},
{
title: "Admin panel",
Icon: AdminPanelSettingsIcon,
route: "admin-panel",
accessibleBy: ["platformAdmin"],
},
{
title: "Global settings",
Icon: TuneIcon,
route: "global-settings",
accessibleBy: ["platformAdmin"],
},
{
title: "Admin panel",
Icon: AdminPanelSettingsIcon,
route: "admin-panel",
accessibleBy: ["platformAdmin"],
},
];

const teamLayoutRoutes: Route[] = [
Expand All @@ -138,9 +138,9 @@ function EditorNavMenu() {
accessibleBy: ["platformAdmin", "teamEditor", "teamViewer"],
},
{
title: "Team members",
Icon: GroupIcon,
route: `/${teamSlug}/members`,
title: "Settings",
Icon: TuneIcon,
route: `/${teamSlug}/general-settings`,
accessibleBy: ["platformAdmin", "teamEditor"],
},
{
Expand All @@ -150,9 +150,9 @@ function EditorNavMenu() {
accessibleBy: ["platformAdmin", "teamEditor"],
},
{
title: "Settings",
Icon: TuneIcon,
route: `/${teamSlug}/general-settings`,
title: "Team members",
Icon: GroupIcon,
route: `/${teamSlug}/members`,
accessibleBy: ["platformAdmin", "teamEditor"],
},
];
Expand Down

0 comments on commit e81f06c

Please sign in to comment.