mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Move from +99 to 99+ for more than 99 messages
This commit is contained in:
parent
e4dd6c8dbe
commit
8b8486a8d0
@ -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…
x
Reference in New Issue
Block a user