mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 13:49:57 -05:00
Only files that have been tagged will be returned when new 'Any' tag button is used to filter file search results.
This commit is contained in:
parent
f3439c2bd5
commit
53d2402d32
31 changed files with 303 additions and 146 deletions
|
|
@ -77,7 +77,7 @@ class Downloader extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
handleSelectedTags = (tagNames) => {
|
||||
handleTagsChange = (tagNames, newAnyTag) => {
|
||||
this.setState({tagNames});
|
||||
}
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ class Downloader extends React.Component {
|
|||
|
||||
let tagsSelector;
|
||||
if (withTags) {
|
||||
tagsSelector = <TagsSelector selectedTagNames={tagNames} onToggle={this.handleSelectedTags}/>;
|
||||
tagsSelector = <TagsSelector selectedTagNames={tagNames} onChange={this.handleTagsChange}/>;
|
||||
}
|
||||
|
||||
const advancedAccordion = <Accordion>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue