mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Normalize album artist list store
This commit is contained in:
parent
828cca9c19
commit
123478a24f
14 changed files with 186 additions and 1656 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue