Skip to content

Commit

Permalink
chore: Rearrange Editor menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jul 17, 2024
1 parent 32b3b81 commit f1fa851
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 f1fa851

Please sign in to comment.