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

@ -15,9 +15,7 @@
@click="() => os.apis.updateAvatar()"
:title="$t('update-avatar')"
/>
<router-link class="name" :to="$store.state.i | userPage">
<misskey-flavored-markdown :text="$store.state.i.name || $store.state.i.username" :shouldBreak="false" :plainText="true" :custom-emojis="$store.state.i.emojis"/>
</router-link>
<router-link class="name" :to="$store.state.i | userPage"><mk-user-name :user="$store.state.i"/></router-link>
<p class="username">@{{ $store.state.i | acct }}</p>
</div>
</mk-widget-container>