Skip to content

Commit

Permalink
Fix for issue mui#1738 with respect to maxDate prop
Browse files Browse the repository at this point in the history
  • Loading branch information
yulric committed Oct 16, 2015
1 parent bc0c998 commit 8cb5e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date-picker/calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const Calendar = React.createClass({
_getToolbarInteractions() {
return {
prevMonth: DateTime.monthDiff(this.state.selectedDate, this.props.minDate) > 0,
nextMonth: DateTime.monthDiff(this.state.selectedDate, this.props.maxDate) < 0,
nextMonth: DateTime.monthDiff(this.state.displayDate, this.props.maxDate) < 0,
};
},

Expand Down

0 comments on commit 8cb5e19

Please sign in to comment.