1
0
Fork 0
mirror of synced 2024-08-16 02:22:08 +12:00
This commit is contained in:
Peter Clement 2023-03-01 14:54:00 +00:00
parent a192ea0caa
commit 692d10d4be

View file

@ -75,14 +75,12 @@ export const menu = derived([admin, auth], ([$admin, $auth]) => {
title: "Usage",
href: "/builder/portal/account/usage",
},
]
if ($auth.isAdmin) {
accountSubPages.push(
{
title: "Audit Logs",
href: "/builder/portal/account/auditLogs",
})
accountSubPages.push({
title: "Audit Logs",
href: "/builder/portal/account/auditLogs",
})
}
if ($admin.cloud && $auth?.user?.accountPortalAccess) {
accountSubPages.push({