add 16 users cap to user list popover
This commit is contained in:
parent
85e09d81c7
commit
caae2668ce
2 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,11 @@ const UserListPopover = {
|
|||
components: {
|
||||
Popover: () => import('../popover/popover.vue'),
|
||||
UserAvatar: () => import('../user_avatar/user_avatar.vue')
|
||||
},
|
||||
computed: {
|
||||
usersCapped () {
|
||||
return this.users.slice(0, 16)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
>
|
||||
<div v-if="users.length">
|
||||
<div
|
||||
v-for="(user) in users"
|
||||
v-for="(user) in usersCapped"
|
||||
:key="user.id"
|
||||
class="user-list-row"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue