@builttocreate/engine-utils 2.9.0-beta.4 → 2.9.0-beta.5

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.
@@ -673,8 +673,7 @@ var generateTableLookup = exports.generateTableLookup = function generateTableLo
673
673
  var cellRawValue = row.cells[column._id] === 0 || row.cells[column._id] ? row.cells[column._id] : undefined;
674
674
  var cellValue;
675
675
  if (cellRawValue && typeof cellRawValue === 'string') cellValue = cellRawValue.trim();
676
- if (cellRawValue && typeof cellRawValue === 'number') cellValue = cellRawValue.toString();
677
- if (cellRawValue === 0 && typeof cellRawValue === 'number') cellValue = '0';
676
+ if ((cellRawValue || cellRawValue === 0) && typeof cellRawValue === 'number') cellValue = cellRawValue.toString();
678
677
  var formulaCell = cellValue !== undefined && cellValue.charAt(0) === '=';
679
678
  var containsOperands = cellValue !== undefined && cellValue.match(/[A-Z]([0-9]{1,10})/gi);
680
679
  if (cellValue && column.type === _FieldTableColumnTypes["default"].dropdown) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builttocreate/engine-utils",
3
- "version": "2.9.0-beta.4",
3
+ "version": "2.9.0-beta.5",
4
4
  "description": "Utility library for common logic shared across web and mobile",
5
5
  "main": "dist/index.js",
6
6
  "files": [