16 lines
270 B
JavaScript
16 lines
270 B
JavaScript
|
import UserAvatar from '../user_avatar/user_avatar.vue'
|
||
|
|
||
|
const AvatarList = {
|
||
|
props: ['avatars'],
|
||
|
computed: {
|
||
|
slicedAvatars () {
|
||
|
return this.avatars ? this.avatars.slice(0, 9) : []
|
||
|
}
|
||
|
},
|
||
|
components: {
|
||
|
UserAvatar
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default AvatarList
|