mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-16 09:56:15 +02:00
We can use the new consts here
This commit is contained in:
parent
bab2f23db3
commit
fc2c62e896
@ -186,8 +186,8 @@ module.exports = React.createClass({
|
||||
'mx_RoomTile': true,
|
||||
'mx_RoomTile_selected': this.props.selected,
|
||||
'mx_RoomTile_unread': this.props.unread,
|
||||
'mx_RoomTile_unreadNotify': notificationCount > 0 && this._shouldShowNotifBadge(),
|
||||
'mx_RoomTile_highlight': this.props.highlight && this._shouldShowMentionBadge(),
|
||||
'mx_RoomTile_unreadNotify': notifBadges,
|
||||
'mx_RoomTile_highlight': mentionBadges,
|
||||
'mx_RoomTile_invited': (me && me.membership == 'invite'),
|
||||
'mx_RoomTile_notificationTagMenu': this.state.notificationTagMenu,
|
||||
'mx_RoomTile_noBadges': !badges,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user