Skip to content

Commit 3381097

Browse files
sinchangJacksonTian
authored andcommitted
fix: no_reply_topics display (#82)
1 parent 7917c96 commit 3381097

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/view/sidebar.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
<div class='inner'>
5151
<% if (no_reply_topics.length > 0) { %>
5252
<ul class="unstyled">
53-
<%- include('./topic/small.html', { topic: no_reply_topics }) %>
53+
<% no_reply_topics.forEach(topic => { %>
54+
<%- include('./topic/small.html', { topic }) %>
55+
<% }) %>
5456
</ul>
5557
<% } else { %>
5658
<p></p>
@@ -69,7 +71,7 @@
6971
<div class='inner'>
7072
<% if (tops.length > 0) { %>
7173
<ol>
72-
<% tops.forEach((user) => { %>
74+
<% tops.forEach(user => { %>
7375
<%- include('user/top.html', { user }) %>
7476
<% }) %>
7577
</ol>

0 commit comments

Comments
 (0)