move the user count to the Section header
This commit is contained in:
@@ -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' : ''">
|
||||
|
||||
Reference in New Issue
Block a user