Update badge logic for new setting and behaviour

For https://github.com/vector-im/riot-web/issues/14084
This commit is contained in:
Travis Ralston 2020-06-19 15:44:37 -06:00
parent 30d8dc06fc
commit eeb408a081
4 changed files with 57 additions and 8 deletions

View file

@ -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) {