Fixed: Allow Blank Search

#118
This commit is contained in:
Qstick
2021-06-06 22:37:27 -04:00
parent 40d55b915e
commit ab5cf45d88
2 changed files with 7 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ class SearchFooter extends Component {
searchQuery
} = this.state;
if (searchQuery !== '' || searchCategories !== [] || searchIndexerIds !== []) {
if (searchQuery !== '' || searchCategories.length > 0 || searchIndexerIds.length > 0) {
this.onSearchPress();
}