Update badge logic for new setting and behaviour
For https://github.com/vector-im/riot-web/issues/14084
This commit is contained in:
parent
30d8dc06fc
commit
eeb408a081
4 changed files with 57 additions and 8 deletions
|
@ -267,7 +267,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
|||
|
||||
// TODO: Collapsed state
|
||||
|
||||
const badge = <NotificationBadge allowNoCount={false} notification={this.state.notificationState}/>;
|
||||
const badge = <NotificationBadge forceCount={true} notification={this.state.notificationState}/>;
|
||||
|
||||
let addRoomButton = null;
|
||||
if (!!this.props.onAddRoom) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue