Hide show/hide comments button when comments are disabled (#2767)

* Update src/components/WatchVideo.vue

* Update src/components/WatchVideo.vue

* Update src/components/WatchVideo.vue

---------

Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
This commit is contained in:
sweep-ai[bot] 2023-08-04 11:39:31 +01:00 committed by GitHub
parent cb0c3c66b0
commit 9a93dfd017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@
<div class="grid xl:grid-cols-5 sm:grid-cols-4 grid-cols-1">
<div class="xl:col-span-4 sm:col-span-3">
<button
v-if="!comments.disabled"
class="btn mb-2"
@click="toggleComments"
v-text="