Fix display of user count in group delete

This commit is contained in:
Girish Ramakrishnan
2025-09-10 16:31:01 +02:00
parent 603c2fdc68
commit 5ea481409f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ function onEditOrAddGroup(group = null) {
async function onRemoveGroup(group) {
const yes = await inputDialog.value.confirm({
title: t('users.deleteGroupDialog.title', { name: group.name }),
message: t('users.deleteGroupDialog.description', { memberCount: group.memberCount }),
message: t('users.deleteGroupDialog.description', { memberCount: group.userIds.length }),
confirmStyle: 'danger',
confirmLabel: t('users.deleteGroupDialog.deleteAction'),
rejectLabel: t('main.dialog.cancel')