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