mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
show message if comments are disabled in a video
This commit is contained in:
parent
b762f036e6
commit
279442a321
1 changed files with 7 additions and 1 deletions
|
@ -121,7 +121,13 @@
|
|||
<hr />
|
||||
|
||||
<div class="grid xl:grid-cols-5 sm:grid-cols-4 grid-cols-1">
|
||||
<div v-if="comments" ref="comments" class="xl:col-span-4 sm:col-span-3">
|
||||
<div v-if="!comments" class="xl:col-span-4 sm:col-span-3">
|
||||
<p class="text-center mt-8">Comments are loading...</p>
|
||||
</div>
|
||||
<div v-else-if="comments.disabled" class="xl:col-span-4 sm:col-span-3">
|
||||
<p class="text-center mt-8">Comments are turned off.</p>
|
||||
</div>
|
||||
<div v-else ref="comments" class="xl:col-span-4 sm:col-span-3">
|
||||
<CommentItem
|
||||
v-for="comment in comments.comments"
|
||||
:key="comment.commentId"
|
||||
|
|
Loading…
Reference in a new issue