Skip to content

Commit

Permalink
fix: fix #date-picker issue where end date is set without having `ran…
Browse files Browse the repository at this point in the history
…ge` active
  • Loading branch information
tujoworker committed Oct 8, 2019
1 parent bf02e74 commit a1f5971
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ export default class DatePicker extends PureComponent {
}
}
if (
isTrue(props.range) &&
typeof props.end_date !== 'undefined' &&
props.end_date !== state.endDate
) {
Expand Down

0 comments on commit a1f5971

Please sign in to comment.