Use mk-user-name
This commit is contained in:
syuilo
2018-12-06 16:09:33 +09:00
parent a235869cfa
commit dea8688c9d
19 changed files with 43 additions and 54 deletions

View File

@ -2,9 +2,8 @@
<div class="mk-note-card">
<a :href="note | notePage">
<header>
<img :src="note.user.avatarUrl" alt="avatar"/><h3>
<misskey-flavored-markdown :text="note.user.name || note.user.username" :shouldBreak="false" :plainText="true" :custom-emojis="note.user.emojis"/>
</h3>
<img :src="note.user.avatarUrl" alt="avatar"/>
<h3><mk-user-name :user="note.user"/></h3>
</header>
<div>
{{ text }}