Move from +99 to 99+ for more than 99 messages
This commit is contained in:
parent
e4dd6c8dbe
commit
8b8486a8d0
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ module.exports = React.createClass({
|
|||
if (this.state.badgeHover) {
|
||||
badgeContent = "\u00B7\u00B7\u00B7";
|
||||
} else if (this.props.highlight || notificationCount > 0) {
|
||||
var limitedCount = (notificationCount > 99) ? '+99' : notificationCount;
|
||||
var limitedCount = (notificationCount > 99) ? '99+' : notificationCount;
|
||||
badgeContent = notificationCount ? limitedCount : '!';
|
||||
} else {
|
||||
badgeContent = '\u200B';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue