Add option to display user avatar in mention link

This commit is contained in:
Tusooa Zhu 2022-01-10 02:05:41 -05:00
parent 8896afd8d8
commit 9fde13c968
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 28 additions and 0 deletions

View file

@ -23,6 +23,11 @@
:href="url"
@click.prevent="onClick"
>
<UserAvatar
v-if="shouldShowAvatar"
class="mention-avatar"
:user="user"
/>
<!-- eslint-disable vue/no-v-html -->
<span
class="shortName"