@ronin/compiler 0.11.0-leo-ron-1083-experimental-226 → 0.11.0-leo-ron-1083-experimental-227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1616,16 +1616,16 @@ var Transaction = class {
|
|
1616
1616
|
newValue = Boolean(value);
|
1617
1617
|
}
|
1618
1618
|
const parentFieldSlug = field.parentField;
|
1619
|
+
let usableRowIndex = rowIndex;
|
1619
1620
|
if (parentFieldSlug) {
|
1620
1621
|
if (rows.length === 1) {
|
1621
1622
|
newSlug = `${parentFieldSlug}.${field.slug}`;
|
1622
1623
|
} else {
|
1623
|
-
|
1624
|
-
|
1625
|
-
continue;
|
1624
|
+
newSlug = `${parentFieldSlug}[${rowIndex}].${field.slug}`;
|
1625
|
+
usableRowIndex = 0;
|
1626
1626
|
}
|
1627
1627
|
}
|
1628
|
-
records[
|
1628
|
+
records[usableRowIndex] = setProperty(records[usableRowIndex], newSlug, newValue);
|
1629
1629
|
}
|
1630
1630
|
}
|
1631
1631
|
return single ? records[0] : records;
|
package/package.json
CHANGED