Improve performance

This commit is contained in:
syuilo 2019-02-28 12:14:24 +09:00
parent df95c0c1a9
commit 57024a538a

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/>