ywana-core8 0.0.109 → 0.0.110

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.109",
3
+ "version": "0.0.110",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -230,7 +230,6 @@ const TableEditor = (props) => {
230
230
  }
231
231
 
232
232
  async function checkOne(id, field, value) {
233
- console.log("checkOne", id, field, value)
234
233
  check([id], value)
235
234
  }
236
235
 
@@ -273,7 +272,7 @@ const TableEditor = (props) => {
273
272
  }),
274
273
  rows: groups[groupName]
275
274
  .map(item => {
276
- item.checked = pageContext.checked.has(item.id)
275
+ item.checked = pageContext.checked ? pageContext.checked.has(item.id) : false
277
276
  item.actions = actions ? actions.map(action => {
278
277
  return action.filter ?
279
278
  action.filter(item) ? <Icon icon={action.icon} clickable size="small" action={() => run(action, item)} /> : null
@@ -304,7 +303,6 @@ const TableEditor = (props) => {
304
303
  .map(field => ({ label: field.label, value: field.id }))
305
304
  }
306
305
 
307
- console.log('table page checked', pageContext.checked)
308
306
  return (
309
307
  <Fragment>
310
308
  <Header icon={icon} title={<Text>{title}</Text>}>
@@ -318,7 +316,7 @@ const TableEditor = (props) => {
318
316
  }
319
317
 
320
318
  /**
321
- * table Context
319
+ * Table Context
322
320
  */
323
321
  const TableContext = (url, field) => {
324
322