Fix card row array id assignment
This commit is contained in:
parent
b4e9f48667
commit
6da8663a1d
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export const CardRows = ({ data, rows }: CardRowsProps) => {
|
|||
row.route!.slugs?.reduce((acc, slug) => {
|
||||
return {
|
||||
...acc,
|
||||
[slug.slugProperty]: data[slug.idProperty],
|
||||
[slug.slugProperty]: data[row.property][itemIndex][slug.idProperty],
|
||||
};
|
||||
}, {}),
|
||||
)}
|
||||
|
|
Reference in a new issue