hide in cloud

This commit is contained in:
Martin McKeaveney 2023-06-10 16:19:09 +01:00
parent 7e45773d02
commit 0be749f537
1 changed files with 4 additions and 4 deletions

View File

@ -58,16 +58,16 @@ export const menu = derived([admin, auth], ([$admin, $auth]) => {
title: "Environment",
href: "/builder/portal/settings/environment",
},
{
title: "Diagnostics",
href: "/builder/portal/settings/diagnostics",
},
]
if (!$admin.cloud) {
settingsSubPages.push({
title: "Version",
href: "/builder/portal/settings/version",
})
settingsSubPages.push({
title: "Diagnostics",
href: "/builder/portal/settings/diagnostics",
})
}
menu.push({
title: "Settings",