Polish UI

This commit is contained in:
Germain Souquet 2021-08-23 14:44:44 +01:00
parent 393bd4871f
commit 9facb0d963
4 changed files with 67 additions and 30 deletions

View file

@ -531,6 +531,7 @@ export default class EventTile extends React.Component<IProps, IState> {
return (
<div
className="mx_ThreadInfo"
onClick={() => {
dis.dispatch({
action: Action.SetRightPanelPhase,
@ -544,7 +545,7 @@ export default class EventTile extends React.Component<IProps, IState> {
<span className="mx_EventListSummary_avatars">
{ avatars }
</span>
{ thread.length } { thread.length === 1 ? 'reply' : 'replies' }
{ thread.length - 1 } { thread.length === 2 ? 'reply' : 'replies' }
</div>
);
}