2019-04-02 13:30:23 +11:00
|
|
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
|
|
|
|
|
|
|
const AvatarList = {
|
2019-05-02 00:33:56 +10:00
|
|
|
props: ['users'],
|
2019-04-02 13:30:23 +11:00
|
|
|
computed: {
|
2019-05-02 00:33:56 +10:00
|
|
|
slicedUsers () {
|
|
|
|
return this.users ? this.users.slice(0, 15) : []
|
2019-04-02 13:30:23 +11:00
|
|
|
}
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
UserAvatar
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AvatarList
|