Skip to content

Commit aec457a

Browse files
committed
fix
1 parent b96e84b commit aec457a

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

js/dist/forum.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dist/forum.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/src/forum/components/ListItem.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,11 @@ export default class listItem extends Component {
107107
</div>
108108
</Link>
109109
</div>
110-
: <div className="imageLabel discussionReplyCount">
111-
{icon('fas fa-comment', {className: 'labelIcon'})}
112-
{discussion.replyCount()}
113-
</div>
110+
: settings.Replies === 1 ?
111+
<div className="imageLabel discussionReplyCount">
112+
{icon('fas fa-comment', {className: 'labelIcon'})}
113+
{discussion.replyCount()}
114+
</div> : ''
114115
}
115116
</div>
116117
</div>

0 commit comments

Comments
 (0)