Make mk-user-name component
This commit is contained in:
syuilo
2018-12-06 11:18:13 +09:00
parent 31b30e3dd2
commit a235869cfa
13 changed files with 30 additions and 12 deletions

View File

@@ -17,7 +17,7 @@
<mk-follow-button v-if="$store.getters.isSignedIn && user.id != $store.state.i.id" :user="user" class="follow" mini/>
<mk-avatar class="avatar" :user="user" :disable-preview="true"/>
<span class="name">
<misskey-flavored-markdown :text="user.name || user.username" :shouldBreak="false" :plainText="true" :custom-emojis="user.emojis"/>
<mk-user-name :user="user"/>
</span>
<span class="acct">@{{ user | acct }}</span>
</div>