mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 06:00:20 +02:00
Fix card row array id assignment
This commit is contained in:
@@ -59,7 +59,7 @@ export const CardRows = ({ data, rows }: CardRowsProps) => {
|
|||||||
row.route!.slugs?.reduce((acc, slug) => {
|
row.route!.slugs?.reduce((acc, slug) => {
|
||||||
return {
|
return {
|
||||||
...acc,
|
...acc,
|
||||||
[slug.slugProperty]: data[slug.idProperty],
|
[slug.slugProperty]: data[row.property][itemIndex][slug.idProperty],
|
||||||
};
|
};
|
||||||
}, {}),
|
}, {}),
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user