This commit is contained in:
Ashley 2022-10-12 17:17:09 +02:00
parent 7f0bdeb8d2
commit da670149a0

View file

@ -436,6 +436,14 @@
Comments Comments
</h5> </h5>
<hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;"> <hr style="clear: both;display: block;border: none;border-bottom: 0.5px solid #2f2f2f;margin: 0 0;/*! width: 4.5em; */height: 0;">
<% if (!Array.isArray( inv.comments)) { %>
<p>
Comments couldnt load ;-; (<a href="https://codeberg.org/Ashley/poketube/issues/new">Report dis issue</a>)
</p>
<% } %>
<% if (Array.isArray( inv.comments)) { %>
<% inv.comments.forEach(x =>{ %> <% inv.comments.forEach(x =>{ %>
@ -464,8 +472,11 @@
</div> </div>
<% }) %> <% }) %>
<% } %>
</div> </div>
<% } %> <% } %>