mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
parent
dbbc913809
commit
063083a1f1
1 changed files with 5 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ class SearchFooter extends Component {
|
|||
isFetching,
|
||||
defaultIndexerIds,
|
||||
defaultCategories,
|
||||
defaultSearchQuery,
|
||||
searchError
|
||||
} = this.props;
|
||||
|
||||
|
|
@ -62,6 +63,10 @@ class SearchFooter extends Component {
|
|||
|
||||
const newState = {};
|
||||
|
||||
if (defaultSearchQuery && defaultSearchQuery !== prevProps.defaultSearchQuery) {
|
||||
newState.searchQuery = defaultSearchQuery;
|
||||
}
|
||||
|
||||
if (searchIndexerIds !== defaultIndexerIds) {
|
||||
newState.searchIndexerIds = defaultIndexerIds;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue