Fix: UserAvatar missing alt-attribute

This commit is contained in:
Raphael Beer 2020-03-26 05:13:58 +01:00
parent ebebb56a36
commit c7762e3539
No known key found for this signature in database
GPG Key ID: C1AC5E018B25EF11

View File

@ -3,9 +3,11 @@
<span class="initials">{{ userInitials }}</span>
<base-icon v-if="isAnonymous" name="eye-slash" />
<img
v-else
v-if="user && user.avatar"
:src="user.avatar | proxyApiUrl"
class="image"
:alt="user.name"
:title="user.name"
@error="$event.target.style.display = 'none'"
/>
</div>