add custom emoji display
This commit is contained in:
parent
c66a3e0206
commit
a9f8ec5453
3 changed files with 19 additions and 1 deletions
|
@ -116,7 +116,18 @@
|
|||
scope="global"
|
||||
keypath="notifications.reacted_with"
|
||||
>
|
||||
<span class="emoji-reaction-emoji">{{ notification.emoji }}</span>
|
||||
<img
|
||||
v-if="notification.emoji_url !== null"
|
||||
class="reaction-emoji"
|
||||
:src="notification.emoji_url"
|
||||
:name="notification.emoji"
|
||||
>
|
||||
<span
|
||||
v-else
|
||||
class="emoji-reaction-emoji"
|
||||
>
|
||||
{{ notification.emoji }}
|
||||
</span>
|
||||
</i18n-t>
|
||||
</small>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue