Render children EventTiles before passing to summary element

This commit is contained in:
Luke Barnard 2016-11-10 13:25:48 +00:00
parent 764959ec1c
commit 566034cf2b
2 changed files with 7 additions and 6 deletions

View file

@ -180,7 +180,7 @@ module.exports = React.createClass({
let expandedEvents = null;
if (expanded) {
expandedEvents = this.props.renderEvents(this.props.previousEvent, eventsToRender);
expandedEvents = this.props.children;
}
let avatars = this.renderAvatars(joinEvents.concat(leaveEvents));