From 3e6236ada3c52f65d238b2b25e9b43043c9ca49e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 21 Jun 2023 15:02:23 -0400 Subject: [PATCH] Cleaning up new comment badge. Fixes #1443 --- src/shared/components/post/post-listing.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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")}) )} -- 2.44.1