ywana-core8 0.0.548 → 0.0.549
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -2
package/dist/index.cjs
CHANGED
@@ -4811,7 +4811,7 @@ var TableEditor$2 = function TableEditor(props) {
|
|
4811
4811
|
options: options
|
4812
4812
|
};
|
4813
4813
|
}),
|
4814
|
-
rows: groups[groupName].map(function (item) {
|
4814
|
+
rows: groups[groupName].map(function (item, index) {
|
4815
4815
|
item.actions = actions ? actions.map(function (_action) {
|
4816
4816
|
return _action.filter ? _action.filter(item) ? /*#__PURE__*/React__default["default"].createElement(Icon, {
|
4817
4817
|
icon: _action.icon,
|
@@ -4834,7 +4834,7 @@ var TableEditor$2 = function TableEditor(props) {
|
|
4834
4834
|
size: "small",
|
4835
4835
|
clickable: true,
|
4836
4836
|
action: function action() {
|
4837
|
-
return remove(
|
4837
|
+
return remove(index);
|
4838
4838
|
}
|
4839
4839
|
}));
|
4840
4840
|
return item;
|