mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Use search params for artist-specific lists
This commit is contained in:
parent
8a367b00a3
commit
3aec139f58
4 changed files with 89 additions and 30 deletions
|
|
@ -17,13 +17,14 @@ interface SongListTableViewProps {
|
|||
|
||||
export const SongListTableView = ({ tableRef, itemCount }: SongListTableViewProps) => {
|
||||
const server = useCurrentServer();
|
||||
const { pageKey, handlePlay, customFilters } = useListContext();
|
||||
const { pageKey, id, handlePlay, customFilters } = useListContext();
|
||||
|
||||
const { rowClassRules } = useCurrentSongRowStyles({ tableRef });
|
||||
|
||||
const tableProps = useVirtualTable<SongListQuery>({
|
||||
contextMenu: SONG_CONTEXT_MENU_ITEMS,
|
||||
customFilters,
|
||||
isSearchParams: Boolean(id),
|
||||
itemCount,
|
||||
itemType: LibraryItem.SONG,
|
||||
pageKey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue