mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Cleaning up new comment badge. Fixes #1443
This commit is contained in:
parent
101b830d87
commit
3e6236ada3
1 changed files with 5 additions and 3 deletions
|
@ -746,10 +746,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
to={`/post/${post_view.post.id}?scrollToComments=true`}
|
||||
data-tippy-content={title}
|
||||
>
|
||||
<span className="me-1">
|
||||
<Icon icon="message-square" classes="me-1" inline />
|
||||
{post_view.counts.comments}
|
||||
</span>
|
||||
{this.unreadCount && (
|
||||
<span className="badge text-bg-warning">
|
||||
<span className="text-muted fst-italic">
|
||||
({this.unreadCount} {i18n.t("new")})
|
||||
</span>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue