mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-12 15:22:35 +02:00
Normalize album artist list store
This commit is contained in:
@@ -476,4 +476,9 @@ export const useAlbumListFilter = (args: { id?: string; key?: string }) =>
|
||||
return state._actions.getFilter({ id: args.id, key: args.key }) as AlbumListFilter;
|
||||
}, shallow);
|
||||
|
||||
export const useAlbumArtistListFilter = (args: { id?: string; key?: string }) =>
|
||||
useListStore((state) => {
|
||||
return state._actions.getFilter({ id: args.id, key: args.key }) as AlbumArtistListFilter;
|
||||
}, shallow);
|
||||
|
||||
export const useListDetail = (key: string) => useListStore((state) => state.detail[key], shallow);
|
||||
|
||||
Reference in New Issue
Block a user