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/%24%7B%60data:application/static/git-logo.png?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")}) )}