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> <template>
<span class="mk-acct"> <span class="mk-acct" v-once>
<span class="name">@{{ user.username }}</span> <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> <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/> <fa v-if="user.isLocked == true" class="locked" icon="lock" fixed-width/>