mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
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) => {
|
row.route!.slugs?.reduce((acc, slug) => {
|
||||||
return {
|
return {
|
||||||
...acc,
|
...acc,
|
||||||
[slug.slugProperty]: data[slug.idProperty],
|
[slug.slugProperty]: data[row.property][itemIndex][slug.idProperty],
|
||||||
};
|
};
|
||||||
}, {}),
|
}, {}),
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue