ywana-core8 0.0.130 → 0.0.134

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.
@@ -4261,17 +4261,16 @@ var TableSelector = function TableSelector(props) {
4261
4261
  var all = pageContext.all,
4262
4262
  checked = pageContext.checked;
4263
4263
  var count = checked.size + "/" + all.length;
4264
- var rows = [].concat(checked).map(function (id) {
4265
- return all.find(function (item) {
4266
- return item.id === id;
4267
- });
4264
+ var rows = all.filter(function (item) {
4265
+ return checked.has(item.id);
4268
4266
  });
4267
+ console.log(count, rows);
4269
4268
  var table = {
4270
4269
  columns: [{
4271
4270
  id: "idMatricula",
4272
4271
  label: "ID Matricula"
4273
4272
  }],
4274
- rows: rows
4273
+ rows: rows || []
4275
4274
  };
4276
4275
  return /*#__PURE__*/React.createElement("div", {
4277
4276
  className: "table-selector"