ui-kit-ck-consultant 0.6.61 → 0.6.62

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 CHANGED
@@ -894,17 +894,14 @@ var Table = /*#__PURE__*/function (_React$Component) {
894
894
  var dataCSV = '';
895
895
 
896
896
  if (_this.props.data) {
897
- Object.keys(_this.props.data).forEach(function (key) {
898
- var rowData = _this.props.data[key].map(function (cell) {
899
- return cell ? _this.extractText(cell) : '';
900
- }).join(';');
901
-
902
- dataCSV += rowData + '\n';
903
- });
897
+ var rowData = Object.keys(_this.props.data).map(function (cell) {
898
+ return cell || '';
899
+ }).join(';');
900
+ dataCSV += rowData + '\n';
904
901
 
905
902
  _this.props.data.map(function (row) {
906
903
  var rowData = row.map(function (cell) {
907
- return cell ? _this.extractText(cell) : '';
904
+ return cell || '';
908
905
  }).join(';');
909
906
  dataCSV += rowData + '\n';
910
907
  });