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.modern.js
CHANGED
@@ -6075,6 +6075,7 @@ var CollectionAdder = function CollectionAdder(_ref12) {
|
|
6075
6075
|
var _Object$assign5;
|
6076
6076
|
|
6077
6077
|
var next = Object.assign({}, form, (_Object$assign5 = {}, _Object$assign5[cellId] = cellValue, _Object$assign5));
|
6078
|
+
delete next.actions;
|
6078
6079
|
setForm(next);
|
6079
6080
|
}
|
6080
6081
|
}
|
@@ -6154,13 +6155,14 @@ var TableEditor$3 = function TableEditor(props) {
|
|
6154
6155
|
setGroupBy = _useState5[1];
|
6155
6156
|
|
6156
6157
|
function change(id, value) {
|
6157
|
-
var nextData = data.
|
6158
|
-
return row.id === "actions";
|
6159
|
-
}).map(function (row) {
|
6158
|
+
var nextData = data.map(function (row) {
|
6160
6159
|
if (row.id === id) {
|
6161
6160
|
var _Object$assign6;
|
6162
6161
|
|
6163
|
-
|
6162
|
+
var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
|
6163
|
+
delete next.actions;
|
6164
|
+
delete next.undefined;
|
6165
|
+
return next;
|
6164
6166
|
} else {
|
6165
6167
|
return row;
|
6166
6168
|
}
|