Skip to content

Commit

Permalink
Chores/clear filter UI (#875)
Browse files Browse the repository at this point in the history
Clear ui filter
  • Loading branch information
kyle-ssg authored Mar 24, 2022
1 parent 548cffd commit bcffd4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/web/components/TagSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class TagSelect extends PureComponent {
}
}} style={{ marginBottom: 10 }} className="btn--link mr-2"
>
Toggle all
Clear Filters
</Button>
)}
</Row>
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/components/pages/FeaturesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const FeaturesPage = class extends Component {
<Row className="px-0 pt-0 pb-2">
<TagSelect
showUntagged
showClearAll
showClearAll={this.state.tags && !!this.state.tags.length}
projectId={projectId} value={this.state.tags} onChange={(tags) => {
this.setState({ tags });
AsyncStorage.setItem(`${projectId}tags`, JSON.stringify(tags));
Expand Down

0 comments on commit bcffd4a

Please sign in to comment.