ui-kit-ck-consultant 0.6.8 → 0.6.10

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
@@ -892,18 +892,14 @@ var Table = /*#__PURE__*/function (_React$Component) {
892
892
  _this.getArray(children.props.children).forEach(function (line) {
893
893
  if (line.props && line.props.children) {
894
894
  _this.getArray(line.props.children).forEach(function (column) {
895
- if (column && column.props && column.props.children && column.props.children.props && column.props.children.props.text) {
895
+ if (column && column.props && column.props.children && column.props.children.props && column.props.children.props.children && column.props.children.props.children.props && column.props.children.props.children.props.children && column.props.children.props.children.props.children.props && column.props.children.props.children.props.children.props.text) {
896
+ dataCSV += column.props.children.props.text + ";";
897
+ } else if (column && column.props && column.props.children && column.props.children.props && column.props.children.props.children && column.props.children.props.children.props && column.props.children.props.children.props.text) {
898
+ dataCSV += column.props.children.props.text + ";";
899
+ } else if (column && column.props && column.props.children && column.props.children.props && column.props.children.props.text) {
896
900
  dataCSV += column.props.children.props.text + ";";
897
901
  } else if (column && column.props && column.props.children) {
898
- var child = column.props.children;
899
-
900
- if (typeof child === 'string' || typeof child === 'number') {
901
- dataCSV += child + ";";
902
- } else if (React__default.isValidElement(child) && child.props && child.props.children) {
903
- dataCSV += child.props.children.toString() + ";";
904
- } else {
905
- dataCSV += ';';
906
- }
902
+ dataCSV += column.props.children.toString() + ";";
907
903
  } else {
908
904
  dataCSV += ';';
909
905
  }