Pass "show data picker" prop to underlying component in ReportFilters.
Fixes errant date picker on the Customers Report.
This commit is contained in:
parent
90edd4e5a6
commit
4f4ab5e076
|
@ -61,13 +61,14 @@ export default class ReportFilters extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
const { query, path, filters, advancedFilters } = this.props;
|
||||
const { advancedFilters, filters, path, query, showDatePicker } = this.props;
|
||||
return (
|
||||
<Filters
|
||||
query={ query }
|
||||
path={ path }
|
||||
filters={ filters }
|
||||
advancedFilters={ advancedFilters }
|
||||
showDatePicker={ showDatePicker }
|
||||
onDateSelect={ this.trackDateSelect }
|
||||
onFilterSelect={ this.trackFilterSelect }
|
||||
onAdvancedFilterAction={ this.trackAdvancedFilterAction }
|
||||
|
|
Loading…
Reference in New Issue