Pass "show data picker" prop to underlying component in ReportFilters.

Fixes errant date picker on the Customers Report.
This commit is contained in:
Jeff Stieler 2019-08-16 10:04:42 -07:00
parent 90edd4e5a6
commit 4f4ab5e076
1 changed files with 2 additions and 1 deletions

View File

@ -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 }