1
0
Fork 0
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:
viown 2025-03-07 12:29:04 +03:00
parent 533ea7dbb9
commit f7e09708fc
5 changed files with 5 additions and 5 deletions

View file

@ -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);