mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-15 07:54:18 +02:00
add double click play to album detail
- add mediaPlayByIndex - add index property to item list controls args - add overrides to item list controls
This commit is contained in:
@@ -438,7 +438,9 @@ export const useItemListState = (
|
||||
);
|
||||
|
||||
const getData = useCallback(() => {
|
||||
return getDataFn ? getDataFn() : [];
|
||||
const data = getDataFn ? getDataFn() : [];
|
||||
// Filter out null/undefined values (e.g., group header rows)
|
||||
return data.filter((d) => d != null);
|
||||
}, [getDataFn]);
|
||||
|
||||
const findItemIndex = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user