ui-kit-ck-consultant 0.6.31 → 0.6.32
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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -920,7 +920,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
920
920
|
console.log('headerRow 2', _this.getArray(headerRow.props.children));
|
921
921
|
console.log('headerRow 3', _this.getArray(headerRow.props.children)[0]);
|
922
922
|
|
923
|
-
var headers = _this.getArray(headerRow.props.children).map(function (th) {
|
923
|
+
var headers = _this.getArray(headerRow.props.children)[0].props.children[0].map(function (th) {
|
924
924
|
return th.props && th.props.children ? _this.extractText(th.props.children) : '';
|
925
925
|
}).join(';');
|
926
926
|
|
@@ -931,7 +931,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
931
931
|
if (tbody) {
|
932
932
|
_this.getArray(tbody.props.children).forEach(function (row) {
|
933
933
|
if (row.type === 'Tr') {
|
934
|
-
var rowData = _this.getArray(row.props.children).map(function (td) {
|
934
|
+
var rowData = _this.getArray(row.props.children)[0].props.children[0].map(function (td) {
|
935
935
|
return td.props && td.props.children ? _this.extractText(td.props.children) : '';
|
936
936
|
}).join(';');
|
937
937
|
|