From: Dessalines Date: Wed, 21 Jun 2023 19:02:23 +0000 (-0400) Subject: Cleaning up new comment badge. Fixes #1443 X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7BpictshareAvatarThumbnail%28?a=commitdiff_plain;h=3e6236ada3c52f65d238b2b25e9b43043c9ca49e;p=lemmy-ui.git Cleaning up new comment badge. Fixes #1443 --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 5249e8f..44dde4a 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -746,10 +746,12 @@ export class PostListing extends Component { to={`/post/${post_view.post.id}?scrollToComments=true`} data-tippy-content={title} > - - {post_view.counts.comments} + + + {post_view.counts.comments} + {this.unreadCount && ( - + ({this.unreadCount} {i18n.t("new")}) )}