ywana-core8 0.0.96 → 0.0.97

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.96",
3
+ "version": "0.0.97",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
package/src/html/table.js CHANGED
@@ -122,7 +122,7 @@ const DataTableCell = ({ row, column, cell, editable }) => {
122
122
  const render = (type) => {
123
123
  const { id, disabled = false, min, max, onChange, options } = column
124
124
  if (id === "checked") {
125
- <CheckBox id={id} value={cell} onChange={(id, value) => onChange(row.id, id, value)} />
125
+ return <CheckBox id={id} value={cell} onChange={(id, value) => onChange(row.id, id, value)} />
126
126
  } else if (editable && onChange) {
127
127
  switch (type) {
128
128
  case "ICON": return <Icon icon={cell} />