Clear filter smartly
parent
15f0373de0
commit
45d6db6eb9
|
@ -17,6 +17,10 @@ class FilterBar extends Component {
|
|||
)
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
this.props.onFilter('')
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className="panel-heading u-flex u-ai-center u-jc-space-between">
|
||||
|
|
Loading…
Reference in New Issue