ods-component-lib 1.18.254 → 1.18.255

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.
@@ -56538,7 +56538,7 @@ var getStaticColumnWidth = function getStaticColumnWidth(props) {
56538
56538
  };
56539
56539
  var findMaxDataLength = function findMaxDataLength(data, dataField) {
56540
56540
  var dataLengthList = data.map(function (item) {
56541
- return item[dataField].length;
56541
+ return item[dataField] === null || item[dataField] === undefined ? 0 : item[dataField].length;
56542
56542
  });
56543
56543
  return Math.max.apply(Math, dataLengthList);
56544
56544
  };