Update PostComponent, show like count to status owner

This commit is contained in:
Daniel Supernault 2021-05-12 22:20:46 -06:00
parent 4408e2ef8c
commit 04094baaef
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -225,7 +225,7 @@
<span class="like-count">Liked by
<a class="font-weight-bold text-dark" :href="'/'+status.liked_by.username">{{status.liked_by.username}}</a>
<span v-if="status.liked_by.others == true">
and <span class="font-weight-bold text-dark cursor-pointer" @click="likesModal">others</span>
and <span class="font-weight-bold text-dark cursor-pointer" @click="likesModal"><span v-if="status.liked_by.total_count_pretty">{{status.liked_by.total_count_pretty}}</span> others</span>
</span>
</span>
</div>