From 0891e430407bd32700411f548e134b55f4988ab6 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 22 Apr 2021 10:36:10 +0200 Subject: [PATCH] web/admin: fix invalid group member count Signed-off-by: Jens Langhammer --- web/src/pages/groups/GroupListPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/groups/GroupListPage.ts b/web/src/pages/groups/GroupListPage.ts index e41c9d0b1..2caa7e7d0 100644 --- a/web/src/pages/groups/GroupListPage.ts +++ b/web/src/pages/groups/GroupListPage.ts @@ -53,7 +53,7 @@ export class GroupListPage extends TablePage { return [ html`${item.name}`, html`${item.parent || "-"}`, - html`${item.users?.keys.length}`, + html`${Array.from(item.users || []).length}`, html`${item.isSuperuser ? t`Yes` : t`No`}`, html`