change: removed /flows api call
This commit is contained in:
parent
c36826172a
commit
740185a0b5
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { connect } from 'react-redux';
|
||||
import { applyFilter, fetchList } from 'Duck/filters';
|
||||
import { applyFilter } from 'Duck/filters';
|
||||
import { fetchList as fetchFunnelsList } from 'Duck/funnels';
|
||||
import DateRangeDropdown from 'Shared/DateRangeDropdown';
|
||||
|
||||
|
|
@ -8,11 +8,10 @@ import DateRangeDropdown from 'Shared/DateRangeDropdown';
|
|||
startDate: state.getIn([ 'filters', 'appliedFilter', 'startDate' ]),
|
||||
endDate: state.getIn([ 'filters', 'appliedFilter', 'endDate' ]),
|
||||
}), {
|
||||
applyFilter, fetchList, fetchFunnelsList
|
||||
applyFilter, fetchFunnelsList
|
||||
})
|
||||
export default class DateRange extends React.PureComponent {
|
||||
onDateChange = (e) => {
|
||||
this.props.fetchList(e.rangeValue)
|
||||
this.props.fetchFunnelsList(e.rangeValue)
|
||||
this.props.applyFilter(e)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue