perf(client): do not render custom emojis in user names

#9778
This commit is contained in:
syuilo 2023-02-08 17:48:02 +09:00
parent 2e565cac2c
commit 650187deaf
32 changed files with 42 additions and 71 deletions

View file

@ -21,7 +21,7 @@
<b>{{ item.name }}</b>
<div v-if="item.description" class="description">{{ item.description }}</div>
<div class="user">
<MkAvatar :user="item.user" class="avatar" indicator link preview/> <MkUserName :user="item.user" :nowrap="false"/>
<MkAvatar :user="item.user" class="avatar" indicator link preview/> <span class="_nowrap">{{ item.user.name ?? item.user.username }}</span>
</div>
</MkA>
</div>