Fix display of user count in group delete
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user