ywana-core8 0.0.60 → 0.0.64

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.
@@ -4291,7 +4291,14 @@ var TableEditor = function TableEditor(props) {
4291
4291
  }),
4292
4292
  rows: groups[groupName].map(function (item) {
4293
4293
  item.actions = actions ? actions.map(function (_action) {
4294
- return /*#__PURE__*/React.createElement(Icon, {
4294
+ return _action.filter ? _action.filter(item) ? /*#__PURE__*/React.createElement(Icon, {
4295
+ icon: _action.icon,
4296
+ clickable: true,
4297
+ size: "small",
4298
+ action: function action() {
4299
+ return run(_action, item);
4300
+ }
4301
+ }) : null : /*#__PURE__*/React.createElement(Icon, {
4295
4302
  icon: _action.icon,
4296
4303
  clickable: true,
4297
4304
  size: "small",