ywana-core8 0.0.459 → 0.0.462

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.459",
3
+ "version": "0.0.462",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -190,18 +190,16 @@ const TableSelector = (props) => {
190
190
 
191
191
  const columns = Object.keys(schema)
192
192
  .filter(key => schema[key].selectorColumn === true)
193
- .map(field => {id: field.id, label: field.label })
193
+ .map(key => {
194
+ const field = schema[key]
195
+ return {id: field.id, label: field.label }
196
+ })
197
+
198
+ console.log("TableSelector ",columns, schema)
194
199
 
195
200
  const rows = all.filter(item => checked.has(item.id))
196
201
  const table = {
197
202
  columns,
198
- /*
199
- columns: [
200
- { id: "id", label: "ID" },
201
- { id: "idMatricula", label: "ID Matricula" },
202
- { id: "flow", "Circuito"},
203
- ],
204
- */
205
203
  rows: rows || []
206
204
  }
207
205
  const buttons = actions.map(({ label, action }) => {