From d17edd77926fede091f608e8b10cacdb99f43f79 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 4 Aug 2023 09:43:40 +0000 Subject: [PATCH] Update src/components/WatchVideo.vue --- src/components/WatchVideo.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index eea39319..bc0ae810 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -197,9 +197,11 @@ class="btn mb-2" @click="toggleComments" v-text=" - `${$t(showComments ? 'actions.minimize_comments' : 'actions.show_comments')} (${numberFormat( - comments?.commentCount, - )})` + comments?.disabled + ? $t('actions.comments_disabled') + : `${$t(showComments ? 'actions.minimize_comments' : 'actions.show_comments')} (${numberFormat( + comments?.commentCount, + )})` " />