ywana-core8 0.0.836 → 0.0.838

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.836",
3
+ "version": "0.0.838",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
package/src/html/table.js CHANGED
@@ -178,7 +178,7 @@ const DataTableCell = ({ index, row, column, cell, editable }) => {
178
178
 
179
179
 
180
180
  if (id === "checked") {
181
- return <CheckBox id={id} value={cell} onChange={(id, value) => onChange(row.id, id, value)} />
181
+ return row.checkDisabled ? null : <CheckBox id={id} value={cell} onChange={(id, value) => onChange(row.id, id, value)} />
182
182
  } else if (editable && onChange) {
183
183
  switch (type) {
184
184
  case "ICON": return <Icon icon={cell} />