web/admin: fix invalid group member count

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-22 10:36:10 +02:00
parent 1f49aea48d
commit 0891e43040
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ export class GroupListPage extends TablePage<Group> {
return [ return [
html`${item.name}`, html`${item.name}`,
html`${item.parent || "-"}`, html`${item.parent || "-"}`,
html`${item.users?.keys.length}`, html`${Array.from(item.users || []).length}`,
html`${item.isSuperuser ? t`Yes` : t`No`}`, html`${item.isSuperuser ? t`Yes` : t`No`}`,
html` html`
<ak-forms-modal> <ak-forms-modal>