fix a issue :3

This commit is contained in:
Ashley //// 2024-04-23 19:53:28 +00:00
parent 32924854b6
commit 6a83a1343e

View file

@ -1294,7 +1294,11 @@ WIP! </a>
<div class="pill-button"> <div class="pill-button">
<i class="fa-light fa-message-lines"></i> <i class="fa-light fa-message-lines"></i>
<%- inv.commentCount.toLocaleString() %> <% if (!isNaN(inv.commentCount)) { %>
<%= inv.commentCount.toLocaleString() %>
<% } else { %>
0
<% } %>
</div> </div>
</a> </a>
</div> </div>