move the user count to the Section header

This commit is contained in:
Girish Ramakrishnan
2025-09-15 17:26:52 +02:00
parent 8ccae822fe
commit 0530a58530
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -285,6 +285,9 @@ onMounted(async () => {
<InvitationDialog ref="invitationDialog" @refresh-required="refreshUsers()" />
<Section :title="$t('main.navbar.users')">
<template #header-title-extra>
<span style="font-weight: normal; font-size: 14px">({{ users.length }})</span>
</template>
<template #header-buttons>
<TextInput v-model="search" placeholder="Search ..." />
<SingleSelect :options="filterOptions" option-key="id" option-label="name" v-model="filter" />
@@ -316,8 +319,6 @@ onMounted(async () => {
</div>
</template>
</TableView>
<br/>
<div>{{ $t('users.users.count', { count: users.length }) }}</div>
</Section>
<Section :title="$t('users.groups.title')" :title-badge="!features.userGroups ? 'Upgrade' : ''">