Make entire thread panel tile clickable (#7371)
This commit is contained in:
parent
2330292c24
commit
f87b5ee996
2 changed files with 12 additions and 2 deletions
|
@ -1411,13 +1411,12 @@ export default class EventTile extends React.Component<IProps, IState> {
|
|||
"data-notification": this.state.threadNotification,
|
||||
"onMouseEnter": () => this.setState({ hover: true }),
|
||||
"onMouseLeave": () => this.setState({ hover: false }),
|
||||
|
||||
"onClick": () => dispatchShowThreadEvent(this.props.mxEvent),
|
||||
}, <>
|
||||
{ sender }
|
||||
{ avatar }
|
||||
<div
|
||||
className={lineClasses}
|
||||
onClick={() => dispatchShowThreadEvent(this.props.mxEvent)}
|
||||
key="mx_EventTile_line"
|
||||
>
|
||||
{ linkedTimestamp }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue