Move settings before account and show plugins for devs

This commit is contained in:
Andrew Kingston 2023-01-09 09:46:27 +00:00
parent 9df6093915
commit 891c57b6e6
1 changed files with 14 additions and 6 deletions

View File

@ -50,10 +50,18 @@
title: "Apps", title: "Apps",
href: "/builder/portal/apps", href: "/builder/portal/apps",
}, },
{
title: "Plugins",
href: "/builder/portal/plugins",
},
] ]
if (admin) { if (admin) {
menu = menu.concat([ menu = [
{
title: "Apps",
href: "/builder/portal/apps",
},
{ {
title: "Users", title: "Users",
href: "/builder/portal/users/users", href: "/builder/portal/users/users",
@ -62,15 +70,15 @@
title: "Plugins", title: "Plugins",
href: "/builder/portal/plugins", href: "/builder/portal/plugins",
}, },
{
title: "Account",
href: "/builder/portal/account",
},
{ {
title: "Settings", title: "Settings",
href: "/builder/portal/settings", href: "/builder/portal/settings",
}, },
]) {
title: "Account",
href: "/builder/portal/account",
},
]
// if (!$adminStore.cloud) { // if (!$adminStore.cloud) {
// menu = menu.concat([ // menu = menu.concat([
// { // {