Also pass urlParam form handleClear

This commit is contained in:
Hannu Lyytikainen 2018-02-15 14:57:38 +02:00
parent 059aa69a6d
commit 5345eec872

View file

@ -34,8 +34,9 @@ class SelectMultipleFilter extends Component {
}
handleClear() {
const { onSelect, urlParam } = this.props;
this.setState({ isOpen: false });
this.props.onSelect(null);
onSelect(urlParam, null);
}
handleCancel() {