ywana-core8 0.0.101 → 0.0.102

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.101",
3
+ "version": "0.0.102",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -225,7 +225,7 @@ const TableEditor = (props) => {
225
225
  }
226
226
 
227
227
  async function check(id, value) {
228
- const ids = Array.isArray(id) ? id : [ id ]
228
+ const ids = Array.isArray(id) ? id : [id]
229
229
  pageContext.check(ids, value)
230
230
  setPageContext(Object.assign({}, pageContext))
231
231
  }
@@ -287,7 +287,7 @@ const TableEditor = (props) => {
287
287
  <Header title={groupName} >
288
288
  <span className="size">{groupSize}</span>
289
289
  </Header>
290
- <DataTable {...table} onRowSelection={select} editable={editable} onCheckAll={check}/>
290
+ <DataTable {...table} onRowSelection={select} editable={editable} onCheckAll={check} />
291
291
  </Fragment>
292
292
  )
293
293
  })
@@ -347,8 +347,8 @@ const TableContext = (url, field) => {
347
347
  if (isChecked) {
348
348
  ids.forEach(id => this.checked.add(id))
349
349
  } else {
350
- ids.forEach(id => this.checked.delete(id)
351
- }
350
+ ids.forEach(id => this.checked.delete(id))
351
+ }
352
352
  },
353
353
 
354
354
  select(id) {