add title and alt for avatars, fix console errors in avatarlist

This commit is contained in:
shpuld 2019-05-01 17:33:56 +03:00
parent a954f56e34
commit c44c048356
10 changed files with 33 additions and 19 deletions

View file

@ -1,7 +1,11 @@
<template>
<div class="basic-user-card">
<router-link :to="userProfileLink(user)">
<UserAvatar class="avatar" @click.prevent.native="toggleUserExpanded" :src="user.profile_image_url"/>
<UserAvatar
class="avatar"
:user="user"
@click.prevent.native="toggleUserExpanded"
/>
</router-link>
<div class="basic-user-card-expanded-content" v-if="userExpanded">
<UserCard :user="user" :rounded="true" :bordered="true"/>