display users in stacked avatarlist

This commit is contained in:
Brenden Bice 2019-04-01 22:30:23 -04:00
parent 85457fc917
commit ff25966702
2 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,15 @@
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