Database reading changes should work, gotta implement same for writing and finish up testing then merge back into master
This commit is contained in:
@@ -12,9 +12,7 @@
|
||||
</header>
|
||||
<div id="posts">
|
||||
<% for (let index = posts.length - 1; index >= 0; index--) { %>
|
||||
<% if (posts[index].userID == userID) { %>
|
||||
<%- include('../posts/user', {post: posts[index], postID: index, user: user, comments: comments[index]}); %>
|
||||
<% } %>
|
||||
<%- include('../posts/user', {post: posts[index], postID: index, user: user, comments: comments[index]}); %>
|
||||
<% } %>
|
||||
</div>
|
||||
<footer id='footer'>
|
||||
|
||||
Reference in New Issue
Block a user