ywana-core8 0.0.810 → 0.0.812
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +4 -2
package/dist/index.umd.js
CHANGED
@@ -6156,12 +6156,14 @@
|
|
6156
6156
|
setGroupBy = _useState5[1];
|
6157
6157
|
|
6158
6158
|
function change(id, value) {
|
6159
|
-
console.log(id, value);
|
6160
6159
|
var nextData = data.map(function (row) {
|
6161
6160
|
if (row.id === id) {
|
6162
6161
|
var _Object$assign6;
|
6163
6162
|
|
6164
|
-
|
6163
|
+
var next = Object.assign({}, row, (_Object$assign6 = {}, _Object$assign6[id] = value, _Object$assign6));
|
6164
|
+
delete next.actions;
|
6165
|
+
delete next.undefined;
|
6166
|
+
return next;
|
6165
6167
|
} else {
|
6166
6168
|
return row;
|
6167
6169
|
}
|