mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 13:37:23 +00:00
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:
parent
cb0c3c66b0
commit
9a93dfd017
@ -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="
|
||||||
|
Loading…
Reference in New Issue
Block a user