refactor(client): Use ===

This commit is contained in:
syuilo 2020-05-10 15:36:42 +09:00
parent ea662b5c49
commit 08456dbb89

View File

@ -22,10 +22,10 @@
</i18n> </i18n>
<div class="info"> <div class="info">
<button class="_button time" @click="showRenoteMenu()" ref="renoteTime"><mk-time :time="note.createdAt"/></button> <button class="_button time" @click="showRenoteMenu()" ref="renoteTime"><mk-time :time="note.createdAt"/></button>
<span class="visibility" v-if="note.visibility != 'public'"> <span class="visibility" v-if="note.visibility !== 'public'">
<fa v-if="note.visibility == 'home'" :icon="faHome"/> <fa v-if="note.visibility === 'home'" :icon="faHome"/>
<fa v-if="note.visibility == 'followers'" :icon="faUnlock"/> <fa v-if="note.visibility === 'followers'" :icon="faUnlock"/>
<fa v-if="note.visibility == 'specified'" :icon="faEnvelope"/> <fa v-if="note.visibility === 'specified'" :icon="faEnvelope"/>
</span> </span>
</div> </div>
</div> </div>