mirror of
https://github.com/plebbit/seedit.git
synced 2026-05-24 08:36:57 -04:00
fix(inbox): "full comments" button would count 0 posts incorrectly
This commit is contained in:
@@ -219,11 +219,11 @@ const SingleReplyTools = ({
|
||||
|
||||
const fullCommentsButton = cid ? (
|
||||
<Link to={cid ? `/p/${subplebbitAddress}/c/${postCid}` : `/profile/${index}`}>
|
||||
{t('full_comments')} ({comment?.replyCount || 0})
|
||||
{t('full_comments')} {comment?.replyCount ? `(${comment?.replyCount})` : ''}
|
||||
</Link>
|
||||
) : (
|
||||
<span>
|
||||
{t('full_comments')} ({comment?.replyCount || 0})
|
||||
{t('full_comments')} {comment?.replyCount ? `(${comment?.replyCount})` : ''}
|
||||
</span>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user