diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-05-10 15:36:42 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-05-10 15:36:42 +0900 |
| commit | 08456dbb89ecc5282caadccfc9066e11b440e59c (patch) | |
| tree | 8d390bf988b04fc3e6311ea90b89568959f4c0d4 /src/client/components/note.vue | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | sharkey-08456dbb89ecc5282caadccfc9066e11b440e59c.tar.gz sharkey-08456dbb89ecc5282caadccfc9066e11b440e59c.tar.bz2 sharkey-08456dbb89ecc5282caadccfc9066e11b440e59c.zip | |
refactor(client): Use ===
Diffstat (limited to 'src/client/components/note.vue')
| -rw-r--r-- | src/client/components/note.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 34871ac857..619d1a5b01 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -22,10 +22,10 @@ </i18n> <div class="info"> <button class="_button time" @click="showRenoteMenu()" ref="renoteTime"><mk-time :time="note.createdAt"/></button> - <span class="visibility" v-if="note.visibility != 'public'"> - <fa v-if="note.visibility == 'home'" :icon="faHome"/> - <fa v-if="note.visibility == 'followers'" :icon="faUnlock"/> - <fa v-if="note.visibility == 'specified'" :icon="faEnvelope"/> + <span class="visibility" v-if="note.visibility !== 'public'"> + <fa v-if="note.visibility === 'home'" :icon="faHome"/> + <fa v-if="note.visibility === 'followers'" :icon="faUnlock"/> + <fa v-if="note.visibility === 'specified'" :icon="faEnvelope"/> </span> </div> </div> |