You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
Render children EventTiles before passing to summary element
This commit is contained in:
@@ -320,12 +320,13 @@ module.exports = React.createClass({
|
||||
}
|
||||
).reduce((a,b) => a.concat(b));
|
||||
};
|
||||
|
||||
let eventTiles = renderEvents(prevEvent, summarisedEvents);
|
||||
|
||||
ret.push(
|
||||
<MemberEventListSummary
|
||||
events={summarisedEvents}
|
||||
previousEvent={prevEvent}
|
||||
renderEvents={renderEvents}
|
||||
/>
|
||||
<MemberEventListSummary events={summarisedEvents}>
|
||||
{eventTiles}
|
||||
</MemberEventListSummary>
|
||||
);
|
||||
prevEvent = mxEv;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user