Fix tracks list refresh on search
This commit is contained in:
parent
9e3e038d42
commit
62794623a3
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ export const SongListHeader = ({ gridRef, title, itemCount, tableRef }: SongList
|
|||
const { display, filter } = useListStoreByKey({ key: pageKey });
|
||||
const cq = useContainerQuery();
|
||||
|
||||
const { handleRefreshTable } = useListFilterRefresh({
|
||||
const { handleRefreshTable, handleRefreshGrid } = useListFilterRefresh({
|
||||
itemType: LibraryItem.SONG,
|
||||
server,
|
||||
});
|
||||
|
@ -51,7 +51,7 @@ export const SongListHeader = ({ gridRef, title, itemCount, tableRef }: SongList
|
|||
handleRefreshTable(tableRef, filterWithCustom);
|
||||
setTablePagination({ data: { currentPage: 0 }, key: pageKey });
|
||||
} else {
|
||||
// handleRefreshGrid(gridRef, filterWithCustom);
|
||||
handleRefreshGrid(gridRef, filterWithCustom);
|
||||
}
|
||||
}, 500);
|
||||
|
||||
|
|
Reference in a new issue