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

Follow up to #30127.

Normally when viewing a channel with tracked threads, we dismiss the blue dot next to the channel name even though the thread has not been read yet.

This change applies the same criteria to determine if we should bold the channel name.
This commit is contained in:
David Battersby 2024-12-06 17:38:13 +04:00 committed by GitHub
parent d35d8193aa
commit 4f4498994c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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
);
}