ywana-core8 0.0.114 → 0.0.115

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.114",
3
+ "version": "0.0.115",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
package/src/html/table.js CHANGED
@@ -77,7 +77,7 @@ export const DataTable = (props) => {
77
77
  const sort = sortDir[id] ? sortDir[id] : null
78
78
  return (
79
79
  <th>
80
- {id === "checked" ? <CheckBox onChange={checkAll}/> : <Text>{label}</Text>}
80
+ {id === "checked" ? <CheckBox onChange={checkAll} /> : <Text>{label}</Text>}
81
81
  {sortable ? <Icon icon="arrow_up" size="small" clickable /> : null}
82
82
  </th>
83
83
  )
@@ -115,7 +115,9 @@ const DataTableRow = (props) => {
115
115
  </tr>
116
116
  {row.info && isInfoOpen ? (
117
117
  <tr className="table-row-info">
118
- {isFunction(row.info) ? row.info() : row.info}
118
+ <td colSpan={columns.length + 1}>
119
+ {isFunction(row.info) ? row.info() : row.info}
120
+ </td>
119
121
  </tr>
120
122
  ) : null}
121
123
  </Fragment>