mirror of
https://github.com/discourse/discourse.git
synced 2024-12-20 13:13:43 +08:00
UX: make channel name bold for unread threads (#30127)
Channels with unread threads should have a font weight of bold to match unread channels.
This commit is contained in:
parent
b3c94839ed
commit
4e8a1487ca
|
@ -140,7 +140,10 @@ export default class ChatChannelRow extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
get channelHasUnread() {
|
get channelHasUnread() {
|
||||||
return this.args.channel.tracking.unreadCount > 0;
|
return (
|
||||||
|
this.args.channel.tracking.unreadCount > 0 ||
|
||||||
|
this.args.channel.unreadThreadsCount > 0
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
get shouldRenderLastMessage() {
|
get shouldRenderLastMessage() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user