use tags list for Navidrome genres to support counts

This commit is contained in:
jeffvli
2025-12-02 18:37:31 -08:00
parent 854a26e3f4
commit f84506ce01
11 changed files with 100 additions and 23 deletions
@@ -38,7 +38,7 @@ export const JellyfinSongFilters = () => {
}, [genreListQuery.data]);
const tagsQuery = useQuery(
sharedQueries.tags({
sharedQueries.tagList({
query: {
type: LibraryItem.SONG,
},
@@ -151,7 +151,7 @@ const TagFilters = () => {
const serverId = useCurrentServerId();
const tagsQuery = useSuspenseQuery(
sharedQueries.tags({
sharedQueries.tagList({
query: { type: LibraryItem.SONG },
serverId,
}),