always show badges in room sub list header
This commit is contained in:
parent
010f077092
commit
6993dc034d
1 changed files with 11 additions and 13 deletions
|
@ -266,7 +266,6 @@ const RoomSubList = React.createClass({
|
||||||
|
|
||||||
|
|
||||||
let badge;
|
let badge;
|
||||||
if (this.state.hidden) {
|
|
||||||
const badgeClasses = classNames({
|
const badgeClasses = classNames({
|
||||||
'mx_RoomSubList_badge': true,
|
'mx_RoomSubList_badge': true,
|
||||||
'mx_RoomSubList_badgeHighlight': subListNotifHighlight,
|
'mx_RoomSubList_badgeHighlight': subListNotifHighlight,
|
||||||
|
@ -279,7 +278,6 @@ const RoomSubList = React.createClass({
|
||||||
// no notifications but highlight anyway because this is an invite badge
|
// no notifications but highlight anyway because this is an invite badge
|
||||||
badge = <div className={badgeClasses} onClick={this._onInviteBadgeClick}>!</div>;
|
badge = <div className={badgeClasses} onClick={this._onInviteBadgeClick}>!</div>;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// When collapsed, allow a long hover on the header to show user
|
// When collapsed, allow a long hover on the header to show user
|
||||||
// the full tag name and room count
|
// the full tag name and room count
|
||||||
|
|
Loading…
Reference in a new issue