better handling of user list popover
This commit is contained in:
parent
5ea41244c1
commit
b3754b26c4
1 changed files with 6 additions and 2 deletions
|
|
@ -24,10 +24,14 @@ const UserListPopover = {
|
||||||
UserAvatar,
|
UserAvatar,
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
usersCapped() {
|
users() {
|
||||||
return [...this.userIds]
|
return [...this.userIds]
|
||||||
.slice(0, 16)
|
|
||||||
.map((id) => useUsersStore().findUser(id))
|
.map((id) => useUsersStore().findUser(id))
|
||||||
|
.filter(Boolean)
|
||||||
|
},
|
||||||
|
usersCapped() {
|
||||||
|
return [...this.users]
|
||||||
|
.slice(0, 16)
|
||||||
},
|
},
|
||||||
allowNonSquareEmoji() {
|
allowNonSquareEmoji() {
|
||||||
return useMergedConfigStore().mergedConfig.nonSquareEmoji
|
return useMergedConfigStore().mergedConfig.nonSquareEmoji
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue