@apexcura/ui-components 0.0.11-Beta86 → 0.0.11-Beta88
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -402,9 +402,10 @@ var AddMoreTable = (props) => {
|
|
|
402
402
|
Instructions: { label: "Instructions", element: "textarea", type: "text" },
|
|
403
403
|
SubRows: { delete: "delete", add: "plus" }
|
|
404
404
|
};
|
|
405
|
+
const updatedVariableData = [...row.variable_data, newSubRow];
|
|
405
406
|
return {
|
|
406
407
|
...row,
|
|
407
|
-
variable_data:
|
|
408
|
+
variable_data: updatedVariableData
|
|
408
409
|
};
|
|
409
410
|
}
|
|
410
411
|
return row;
|
package/dist/index.mjs
CHANGED
|
@@ -355,9 +355,10 @@ var AddMoreTable = (props) => {
|
|
|
355
355
|
Instructions: { label: "Instructions", element: "textarea", type: "text" },
|
|
356
356
|
SubRows: { delete: "delete", add: "plus" }
|
|
357
357
|
};
|
|
358
|
+
const updatedVariableData = [...row.variable_data, newSubRow];
|
|
358
359
|
return {
|
|
359
360
|
...row,
|
|
360
|
-
variable_data:
|
|
361
|
+
variable_data: updatedVariableData
|
|
361
362
|
};
|
|
362
363
|
}
|
|
363
364
|
return row;
|