mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-10 23:07:00 +00:00
Support for the comment count of a video
This commit is contained in:
parent
dd8f86e179
commit
c751d45607
@ -178,7 +178,11 @@
|
|||||||
<button
|
<button
|
||||||
class="btn mb-2"
|
class="btn mb-2"
|
||||||
@click="toggleComments"
|
@click="toggleComments"
|
||||||
v-t="`actions.${showComments ? 'minimize_comments' : 'show_comments'}`"
|
v-text="
|
||||||
|
`${$t(showComments ? 'actions.minimize_comments' : 'actions.show_comments')} (${numberFormat(
|
||||||
|
comments?.commentCount,
|
||||||
|
)})`
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!showComments" class="xl:col-span-4 sm:col-span-3"></div>
|
<div v-if="!showComments" class="xl:col-span-4 sm:col-span-3"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user