pr comments

This commit is contained in:
Peter Clement 2022-08-01 09:03:47 +01:00
parent 79f7fd380d
commit 85c63a17f8
2 changed files with 10 additions and 5 deletions

View File

@ -53,10 +53,6 @@
href: "/builder/portal/manage/users",
heading: "Manage",
},
isEnabled(FEATURE_FLAGS.USER_GROUPS) && {
title: "User Groups",
href: "/builder/portal/manage/groups",
},
{ title: "Auth", href: "/builder/portal/manage/auth" },
{ title: "Email", href: "/builder/portal/manage/email" },
{
@ -70,6 +66,15 @@
},
])
if (isEnabled(FEATURE_FLAGS.USER_GROUPS)) {
let item = {
title: "User Groups",
href: "/builder/portal/manage/groups",
}
menu.splice(1, 0, item)
}
if (!$adminStore.cloud) {
menu = menu.concat([
{

View File

@ -31,7 +31,7 @@ export const allUsers = async () => {
}
export const countUsersByApp = async (appId: string) => {
let response: any = await usersCore.searchGlobalUsersByApp(appId)
let response: any = await usersCore.searchGlobalUsersByApp(appId, {})
return {
userCount: response.length,
}