Skip to content

A platform for community discussion. Free, open, simple.

UX: fix channel name style for unread threads (#30152)

David Battersby4f4498994c54
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs b/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
index 857ee954b13..622bbe0c7f3 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
@@ -142,7 +142,7 @@ export default class ChatChannelRow extends Component {
get channelHasUnread() {
return (
this.args.channel.tracking.unreadCount > 0 ||
- this.args.channel.unreadThreadsCount > 0
+ this.args.channel.unreadThreadsCountSinceLastViewed > 0
);
}