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

View File

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