Merge pull request #2603 from Bnyro/comment-count

Support for the comment count of a video
This commit is contained in:
Bnyro 2023-06-27 21:40:02 +02:00 committed by GitHub
commit 3381be51e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,11 @@
<button
class="btn mb-2"
@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 v-if="!showComments" class="xl:col-span-4 sm:col-span-3"></div>