Improve performance

This commit is contained in:
syuilo 2019-02-28 12:14:24 +09:00
parent 361a9ca1be
commit 1dbce5e3e2
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -1,5 +1,5 @@
<template>
<span class="mk-acct">
<span class="mk-acct" v-once>
<span class="name">@{{ user.username }}</span>
<span class="host" :class="{ fade: $store.state.settings.contrastedAcct }" v-if="user.host || detail || $store.state.settings.showFullAcct">@{{ user.host || host }}</span>
<fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/>