mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Refactor query keys
This commit is contained in:
parent
533ea7dbb9
commit
f7e09708fc
5 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ export const useSearchItems = (
|
|||
const isLiveTvEnabled = !isLiveTvPending || !collectionType || !isLivetv(collectionType);
|
||||
|
||||
return useQuery({
|
||||
queryKey: ['SearchItems', collectionType, parentId, searchTerm],
|
||||
queryKey: ['Search', 'Items', collectionType, parentId, searchTerm],
|
||||
queryFn: async ({ signal }) => {
|
||||
if (liveTvSections && collectionType && isLivetv(collectionType)) {
|
||||
return sortSections(liveTvSections);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue