From c44c0483566efc8c48361e4143b25d852cecede4 Mon Sep 17 00:00:00 2001 From: shpuld Date: Wed, 1 May 2019 17:33:56 +0300 Subject: add title and alt for avatars, fix console errors in avatarlist --- src/components/avatar_list/avatar_list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/avatar_list/avatar_list.js') diff --git a/src/components/avatar_list/avatar_list.js b/src/components/avatar_list/avatar_list.js index d65125c2..b9e11aaa 100644 --- a/src/components/avatar_list/avatar_list.js +++ b/src/components/avatar_list/avatar_list.js @@ -1,10 +1,10 @@ import UserAvatar from '../user_avatar/user_avatar.vue' const AvatarList = { - props: ['avatars'], + props: ['users'], computed: { - slicedAvatars () { - return this.avatars ? this.avatars.slice(0, 15) : [] + slicedUsers () { + return this.users ? this.users.slice(0, 15) : [] } }, components: { -- cgit v1.2.3-70-g09d2