mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 17:04:16 +02:00
Add initial fetch for all grid views
This commit is contained in:
@@ -22,7 +22,11 @@ export const useAlbumList = (args: QueryHookArgs<AlbumListQuery>) => {
|
||||
query,
|
||||
});
|
||||
},
|
||||
queryKey: queryKeys.albums.list(serverId || '', query),
|
||||
queryKey: queryKeys.albums.list(
|
||||
serverId || '',
|
||||
query,
|
||||
query?.artistIds?.length === 1 ? query?.artistIds[0] : undefined,
|
||||
),
|
||||
...options,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user