aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_avatar/user_avatar.vue
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-05-01 17:33:56 +0300
committershpuld <shp@cock.li>2019-05-01 17:33:56 +0300
commitc44c0483566efc8c48361e4143b25d852cecede4 (patch)
tree8000bf47cdfb88399dd5292a04416f12b75f85be /src/components/user_avatar/user_avatar.vue
parenta954f56e3444e921dcf5ff6651e443ac110f1804 (diff)
add title and alt for avatars, fix console errors in avatarlist
Diffstat (limited to 'src/components/user_avatar/user_avatar.vue')
-rw-r--r--src/components/user_avatar/user_avatar.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/user_avatar/user_avatar.vue b/src/components/user_avatar/user_avatar.vue
index 6bf7123d..e5466fdf 100644
--- a/src/components/user_avatar/user_avatar.vue
+++ b/src/components/user_avatar/user_avatar.vue
@@ -1,8 +1,10 @@
<template>
<StillImage
class="avatar"
+ :alt="user.screen_name"
+ :title="user.screen_name"
+ :src="user.profile_image_url_original"
:class="{ 'avatar-compact': compact, 'better-shadow': betterShadow }"
- :src="imgSrc"
:imageLoadError="imageLoadError"
/>
</template>