forked from mirror/pixelfed
Update PostComponent, show like count to status owner
This commit is contained in:
parent
4408e2ef8c
commit
04094baaef
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@
|
||||||
<span class="like-count">Liked by
|
<span class="like-count">Liked by
|
||||||
<a class="font-weight-bold text-dark" :href="'/'+status.liked_by.username">{{status.liked_by.username}}</a>
|
<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">
|
<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>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue