Unbreak IRC layout when thread summary is displayed (#7066)

This commit is contained in:
Germain 2021-11-03 08:26:41 +00:00 committed by GitHub
parent 74376f989e
commit 4b66d4a891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View file

@ -1369,10 +1369,15 @@ export default class EventTile extends React.Component<IProps, IState> {
/>
{ keyRequestInfo }
{ actionBar }
{ this.props.layout === Layout.IRC && (reactionsRow) }
{ this.props.layout === Layout.IRC && <>
{ reactionsRow }
{ this.renderThreadInfo() }
</> }
</div>
{ this.renderThreadInfo() }
{ this.props.layout !== Layout.IRC && (reactionsRow) }
{ this.props.layout !== Layout.IRC && <>
{ reactionsRow }
{ this.renderThreadInfo() }
</> }
{ msgOption }
</>)
);