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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.130",
3
+ "version": "0.0.134",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -153,12 +153,15 @@ const TableSelector = (props) => {
153
153
  const { all, checked} = pageContext
154
154
 
155
155
  const count = `${checked.size}/${all.length}`
156
- const rows = [...checked].map(id => all.find(item => item.id === id))
156
+
157
+ const rows = all.filter(item => checked.has(item.id))
158
+ console.log(count, rows)
159
+
157
160
  const table = {
158
161
  columns: [
159
162
  { id:"idMatricula", label: "ID Matricula" }
160
163
  ],
161
- rows
164
+ rows: rows || []
162
165
  }
163
166
 
164
167
  return (