Skip to content

Commit

Permalink
Fix negative number of comment replies (aeharding#463)
Browse files Browse the repository at this point in the history
Resolves aeharding#455
  • Loading branch information
aeharding authored Jul 16, 2023
1 parent 30a31b7 commit b16cfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/comment/CommentTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function CommentTree({
)),
];

if (showMissing && comment.missing) {
if (showMissing && comment.missing && comment.missing > 0) {
payload.push(
<CommentExpander
key={`${comment.comment_view.comment.id}--expand`}
Expand Down

0 comments on commit b16cfcc

Please sign in to comment.