Replace forceCount prop with hideIfDot (#12344)
This replaces the `forceCount` prop on room badge components with `hideIfDot` which hopefully gives a better idea of what it does, since forceCount did not really force a count. Also remove the prop where it was just passing the default value anyway.
This commit is contained in:
parent
e247d31808
commit
3c6fd58628
7 changed files with 19 additions and 19 deletions
|
@ -402,11 +402,7 @@ export class RoomTile extends React.PureComponent<ClassProps, State> {
|
|||
// aria-hidden because we summarise the unread count/highlight status in a manual aria-label below
|
||||
badge = (
|
||||
<div className="mx_RoomTile_badgeContainer" aria-hidden="true">
|
||||
<NotificationBadge
|
||||
notification={this.notificationState}
|
||||
forceCount={false}
|
||||
roomId={this.props.room.roomId}
|
||||
/>
|
||||
<NotificationBadge notification={this.notificationState} roomId={this.props.room.roomId} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue