Only show group count in users view and reduce horizontal view size

This commit is contained in:
Johannes Zellner
2025-12-01 16:38:49 +01:00
parent 3a760282f1
commit 76a3f4e86c

View File

@@ -219,7 +219,7 @@ onMounted(async () => {
</script>
<template>
<div class="content-large">
<div class="content">
<Menu ref="actionMenuElement" :model="actionMenuModel" />
<InputDialog ref="inputDialog" />
<UserDialog ref="userDialog" @success="refreshUsers()"/>
@@ -254,9 +254,7 @@ onMounted(async () => {
<i v-show="user.source" class="far fa-address-book" v-tooltip="$t('users.users.externalLdapTooltip')"></i>
</template>
<template #groups="user">
<span class="group-label" v-for="groupId in user.groupIds" :key="groupId">
{{ groupsById[groupId] ? groupsById[groupId].name : groupId }}
</span>
<span class="group-label">{{ user.groupIds.length }}</span>
</template>
<template #actions="user">
<div class="table-actions">
@@ -268,11 +266,3 @@ onMounted(async () => {
</Section>
</div>
</template>
<style scoped>
.group-label {
padding: 0 5px;
}
</style>