Skip to content

Commit f6992d1

Browse files
authored
fix: remove conditions for add comment button (CircuitVerse#4645)
1 parent 6bf0d3b commit f6992d1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app/views/commontator/threads/_show.html.erb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,7 @@
7171
</span>
7272
</div>
7373

74-
<% if thread.config.comment_order != :l %>
75-
<%= render partial: 'commontator/threads/reply', locals: { thread: thread, user: user } %>
76-
<% end %>
77-
78-
<% if thread.config.comment_order == :l %>
79-
<%= render partial: 'commontator/threads/reply', locals: { thread: thread, user: user } %>
80-
<% end %>
74+
<%= render partial: 'commontator/threads/reply', locals: { thread: thread, user: user } %>
8175

8276
<div id="commontator-thread-<%= thread.id %>-comment-list" class="comment-list">
8377
<%=

0 commit comments

Comments
 (0)