Fixed the stickies notification count to limit it to 99+

pull/2028/head
wmwragg 2016-08-28 12:03:05 +01:00
parent dc4459083f
commit 8d4268754e
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ var RoomSubList = React.createClass({
var badge;
if (subListNotifCount > 0) {
badge = <div className={badgeClasses}>{subListNotifCount}</div>;
badge = <div className={badgeClasses}>{subListNotifCount > 99 ? "99+" : subListNotifCount}</div>;
}
return (