forked from matrix/element-web
Fixed the stickies notification count to limit it to 99+
This commit is contained in:
parent
dc4459083f
commit
8d4268754e
|
@ -414,7 +414,7 @@ var RoomSubList = React.createClass({
|
||||||
|
|
||||||
var badge;
|
var badge;
|
||||||
if (subListNotifCount > 0) {
|
if (subListNotifCount > 0) {
|
||||||
badge = <div className={badgeClasses}>{subListNotifCount}</div>;
|
badge = <div className={badgeClasses}>{subListNotifCount > 99 ? "99+" : subListNotifCount}</div>;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue