put a ! on invite sublists
This commit is contained in:
parent
a74bbb424c
commit
e5e259e1f8
1 changed files with 5 additions and 3 deletions
|
@ -248,10 +248,9 @@ var RoomSubList = React.createClass({
|
||||||
|
|
||||||
if (badges) {
|
if (badges) {
|
||||||
result[0] += notificationCount;
|
result[0] += notificationCount;
|
||||||
if (highlight) {
|
|
||||||
result[1] = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result[1] |= highlight;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}, [0, false]);
|
}, [0, false]);
|
||||||
|
@ -403,6 +402,9 @@ var RoomSubList = React.createClass({
|
||||||
if (subListNotifCount > 0) {
|
if (subListNotifCount > 0) {
|
||||||
badge = <div className={badgeClasses}>{ FormattingUtils.formatCount(subListNotifCount) }</div>;
|
badge = <div className={badgeClasses}>{ FormattingUtils.formatCount(subListNotifCount) }</div>;
|
||||||
}
|
}
|
||||||
|
else if (subListNotifHighlight) {
|
||||||
|
badge = <div className={badgeClasses}>{ ! }</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