From e86b9671e439ec549e582c9baf55dbadd3deef97 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 23 Sep 2022 14:43:41 +0100 Subject: [PATCH] Fix group app number count in group list table --- .../manage/groups/_components/GroupAppsTableRenderer.svelte | 0 .../src/pages/builder/portal/manage/groups/index.svelte | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 packages/builder/src/pages/builder/portal/manage/groups/_components/GroupAppsTableRenderer.svelte diff --git a/packages/builder/src/pages/builder/portal/manage/groups/_components/GroupAppsTableRenderer.svelte b/packages/builder/src/pages/builder/portal/manage/groups/_components/GroupAppsTableRenderer.svelte new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/builder/src/pages/builder/portal/manage/groups/index.svelte b/packages/builder/src/pages/builder/portal/manage/groups/index.svelte index e2abad43ff..9c28ff117d 100644 --- a/packages/builder/src/pages/builder/portal/manage/groups/index.svelte +++ b/packages/builder/src/pages/builder/portal/manage/groups/index.svelte @@ -17,7 +17,7 @@ import { onMount } from "svelte" import CreateEditGroupModal from "./_components/CreateEditGroupModal.svelte" import { cloneDeep } from "lodash/fp" - import AppsTableRenderer from "../users/_components/AppsTableRenderer.svelte" + import GroupAppsTableRenderer from "./_components/GroupAppsTableRenderer.svelte" import UsersTableRenderer from "./_components/UsersTableRenderer.svelte" import GroupNameTableRenderer from "./_components/GroupNameTableRenderer.svelte" import { goto } from "@roxi/routify" @@ -37,13 +37,13 @@ let customRenderers = [ { column: "name", component: GroupNameTableRenderer }, { column: "users", component: UsersTableRenderer }, - { column: "apps", component: AppsTableRenderer }, + { column: "roles", component: GroupAppsTableRenderer }, ] $: schema = { name: {}, users: { sortable: false }, - apps: { sortable: false }, + roles: { sortable: false }, } $: filteredGroups = filterGroups($groups, searchString)