Apply suggestions from review
This commit is contained in:
parent
41bc2b6481
commit
b91309be82
13 changed files with 169 additions and 61 deletions
|
@ -76,8 +76,8 @@ const EventListSummary: React.FC<IProps> = ({
|
|||
{ children }
|
||||
</React.Fragment>;
|
||||
} else {
|
||||
const avatars = summaryMembers.map((m, idx) =>
|
||||
<MemberAvatar key={m.userId} member={m} width={14} height={14} />);
|
||||
const avatars = summaryMembers.map((m) => <MemberAvatar key={m.userId} member={m} width={14} height={14} />);
|
||||
|
||||
body = (
|
||||
<div className="mx_EventTile_line">
|
||||
<div className="mx_EventTile_info">
|
||||
|
|
|
@ -354,8 +354,14 @@ export default class ReplyThread extends React.Component<IProps, IState> {
|
|||
</blockquote>;
|
||||
} else if (this.props.forExport) {
|
||||
const eventId = ReplyThread.getParentEventId(this.props.parentEv);
|
||||
header = <p style={{ marginTop: -5, marginBottom: 5 }}>
|
||||
In reply to <a className="mx_reply_anchor" href={`#${eventId}`} scroll-to={eventId}>this message</a>
|
||||
header = <p className="mx_ReplyThread_Export">
|
||||
{ _t("In reply to <messageLink/>",
|
||||
{},
|
||||
{ messageLink: () => (
|
||||
<a className="mx_reply_anchor" href={`#${eventId}`} scroll-to={eventId}> { _t("this message") } </a>
|
||||
),
|
||||
})
|
||||
}
|
||||
</p>;
|
||||
} else if (this.state.loading) {
|
||||
header = <Spinner w={16} h={16} />;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue