Clear filter smartly

pull/10616/head
Hunter Trujillo 2017-03-06 17:44:49 -07:00
parent 15f0373de0
commit 45d6db6eb9
1 changed files with 4 additions and 0 deletions

View File

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