ywana-core8 0.0.465 → 0.0.468

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.
@@ -5684,7 +5684,6 @@ var TableSelector = function TableSelector(props) {
5684
5684
  label: field.label
5685
5685
  };
5686
5686
  });
5687
- console.log("TableSelector ", columns, schema);
5688
5687
  var rows = all.filter(function (item) {
5689
5688
  return checked.has(item.id);
5690
5689
  });
@@ -5694,7 +5693,8 @@ var TableSelector = function TableSelector(props) {
5694
5693
  };
5695
5694
  var buttons = actions.map(function (_ref) {
5696
5695
  var label = _ref.label,
5697
- _action = _ref.action;
5696
+ _action = _ref.action,
5697
+ validate = _ref.validate;
5698
5698
  return /*#__PURE__*/React.createElement(Button, {
5699
5699
  label: label,
5700
5700
  raised: true,
@@ -5707,9 +5707,9 @@ var TableSelector = function TableSelector(props) {
5707
5707
  } catch (e) {
5708
5708
  return Promise.reject(e);
5709
5709
  }
5710
- });
5710
+ }, rows);
5711
5711
  },
5712
- disabled: !_action.validate(checked)
5712
+ disabled: !validate(checked, rows)
5713
5713
  });
5714
5714
  });
5715
5715
  return /*#__PURE__*/React.createElement("div", {