From a69600ba9f62d7bd8c8cc21c39198e20982c657d Mon Sep 17 00:00:00 2001 From: jquense Date: Sun, 13 Dec 2015 16:37:41 -0500 Subject: [PATCH] [fixed] Pass correct date to DaySlot for selections. fixes #17, fixes #18 --- src/TimeGrid.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/TimeGrid.jsx b/src/TimeGrid.jsx index 651de61a4..9c17d921f 100644 --- a/src/TimeGrid.jsx +++ b/src/TimeGrid.jsx @@ -127,7 +127,7 @@ let TimeGrid = React.createClass({ }, renderEvents(range, events){ - let { endAccessor, startAccessor, components } = this.props; + let { min, max, endAccessor, startAccessor, components } = this.props; let today = new Date(); return range.map((date, idx) => { @@ -140,6 +140,8 @@ let TimeGrid = React.createClass({ return (