Render children EventTiles before passing to summary element
This commit is contained in:
parent
764959ec1c
commit
566034cf2b
2 changed files with 7 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue