posts are marked as deleted to preserve array structure
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
</div>
|
||||
<div id="posts">
|
||||
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
||||
<%- include('../posts/timeline', {post: posts[index], index: index, user: users[posts[index].userID]}); %>
|
||||
<% if (posts[index]["deleted"] != true) { %>
|
||||
<%- include('../posts/timeline', {post: posts[index], index: index, user: users[posts[index].userID]}); %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</div>
|
||||
<footer>
|
||||
|
Reference in New Issue
Block a user