Reset customTime when a preconfigured relative time is selected

pull/2041/head
Andrew Watkins 2017-09-27 13:06:38 -07:00
parent 57a594c183
commit 3863fc3776
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class TimeRangeDropdown extends Component {
handleSelection = timeRange => () => {
this.props.onChooseTimeRange(timeRange)
this.setState({isOpen: false})
this.setState({customTimeRange: emptyTime, isOpen: false})
}
toggleMenu = () => {