ywana-core8 0.0.811 → 0.0.813
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.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +6 -2
package/dist/index.cjs
CHANGED
@@ -6083,6 +6083,7 @@ var CollectionAdder = function CollectionAdder(_ref12) {
|
|
6083
6083
|
var _Object$assign5;
|
6084
6084
|
|
6085
6085
|
var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
|
6086
|
+
delete next.actions;
|
6086
6087
|
setForm(next);
|
6087
6088
|
}
|
6088
6089
|
}
|
@@ -6162,13 +6163,14 @@ var TableEditor$3 = function TableEditor(props) {
|
|
6162
6163
|
setGroupBy = _useState5[1];
|
6163
6164
|
|
6164
6165
|
function change(id, value) {
|
6165
|
-
var nextData = data.
|
6166
|
-
return row.id === "actions";
|
6167
|
-
}).map(function (row) {
|
6166
|
+
var nextData = data.map(function (row) {
|
6168
6167
|
if (row.id === id) {
|
6169
6168
|
var _Object$assign6;
|
6170
6169
|
|
6171
|
-
|
6170
|
+
var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
|
6171
|
+
delete next.actions;
|
6172
|
+
delete next.undefined;
|
6173
|
+
return next;
|
6172
6174
|
} else {
|
6173
6175
|
return row;
|
6174
6176
|
}
|