Skip to content

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

UX: make channel name bold for unread threads (#30127)

David Battersby4e8a1487ca91
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 b57deb3e429..857ee954b13 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-channel-row.gjs
@@ -140,7 +140,10 @@ export default class ChatChannelRow extends Component {
}
get channelHasUnread() {
- return this.args.channel.tracking.unreadCount > 0;
+ return (
+ this.args.channel.tracking.unreadCount > 0 ||
+ this.args.channel.unreadThreadsCount > 0
+ );
}
get shouldRenderLastMessage() {