mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(web): indexer options stale caching (#473)
fix: de-duplicate incompatible queries which led to a stale type-unsafe caching bug Co-authored-by: anonymous <anonymous>
This commit is contained in:
parent
6fc8015887
commit
5f85a9a990
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ const ListboxFilter = ({
|
||||||
// a unique option from a list
|
// a unique option from a list
|
||||||
const IndexerSelectFilter = ({ dispatch }: any) => {
|
const IndexerSelectFilter = ({ dispatch }: any) => {
|
||||||
const { data, isSuccess } = useQuery(
|
const { data, isSuccess } = useQuery(
|
||||||
"release_indexers",
|
"indexers_options",
|
||||||
() => APIClient.indexers.getOptions(),
|
() => APIClient.indexers.getOptions(),
|
||||||
{
|
{
|
||||||
keepPreviousData: true,
|
keepPreviousData: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue