Update LikeService, show like count to status owner
This commit is contained in:
parent
f47161fcd9
commit
4408e2ef8c
2 changed files with 9 additions and 2 deletions
|
@ -228,7 +228,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">others</span>
|
||||
and <span class="font-weight-bold" v-if="status.liked_by.total_count_pretty">{{status.liked_by.total_count_pretty}}</span> <span class="font-weight-bold">others</span>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue