mirror of
https://github.com/stashapp/stash.git
synced 2025-12-14 20:33:16 +01:00
Fix query text field bug (#1528)
This commit is contained in:
parent
4e08e37d74
commit
0589df51cd
1 changed files with 3 additions and 3 deletions
|
|
@ -626,11 +626,11 @@ const useList = <QueryResult extends IQueryResult, QueryData extends IDataItem>(
|
|||
// Compare constructed filter with current filter.
|
||||
// If different it's the result of navigation, and we update the filter.
|
||||
if (
|
||||
location.search &&
|
||||
location.search !== `?${filter.makeQueryParameters()}`
|
||||
history.location.search &&
|
||||
history.location.search !== `?${filter.makeQueryParameters()}`
|
||||
) {
|
||||
newFilter.configureFromQueryParameters(
|
||||
queryString.parse(location.search)
|
||||
queryString.parse(history.location.search)
|
||||
);
|
||||
update = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue