fix comments showing as disabled

This commit is contained in:
Bnyro 2022-11-05 10:02:33 +01:00
parent 7994e358fb
commit 113adf6341

View File

@ -155,7 +155,6 @@
<div class="grid pp-rec-vids"> <div class="grid pp-rec-vids">
<div class="xl:col-span-4 sm:col-span-3"> <div class="xl:col-span-4 sm:col-span-3">
<p class="text-center mt-8" v-t="'comment.user_disabled'"></p>
<button <button
class="btn mb-2" class="btn mb-2"
@click="toggleComments" @click="toggleComments"
@ -163,7 +162,7 @@
/> />
</div> </div>
<div v-if="!showComments" class="w-full"></div> <div v-if="!showComments" class="w-full"></div>
<div v-if="!comments" class=""> <div v-else-if="!comments" class="">
<p class="text-center mt-8" v-t="'comment.loading'"></p> <p class="text-center mt-8" v-t="'comment.loading'"></p>
</div> </div>
<div v-else-if="comments.disabled" class=""> <div v-else-if="comments.disabled" class="">