@builttocreate/engine-utils 1.9.0-rc.1.1.0 → 1.9.0-rc.1.1.2

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.
@@ -139,7 +139,7 @@ var addDocumentDataToActivities = function addDocumentDataToActivities(activitie
139
139
 
140
140
 
141
141
  nextActivity.document.value = fieldRowsLookup[activity.document.field] && fieldRowsLookup[activity.document.field][activity.document.row] ? fieldRowsLookup[activity.document.field][activity.document.row] : null;
142
- nextActivity.document.rowIndex = fieldRowIndexLookup[activity.document.field] && fieldRowIndexLookup[activity.document.field][activity.document.row] ? fieldRowIndexLookup[activity.document.field][activity.document.row] : null;
142
+ nextActivity.document.rowIndex = fieldRowIndexLookup[activity.document.field] && (fieldRowIndexLookup[activity.document.field][activity.document.row] || fieldRowIndexLookup[activity.document.field][activity.document.row] === 0) ? fieldRowIndexLookup[activity.document.field][activity.document.row] : null;
143
143
  } else if (docFieldValue && templateField.type === _FieldTypes["default"].inputGroup) {
144
144
  /**
145
145
  * Input Group Step 1: create an easy way to lookup a row with the dropdown cells populated.
@@ -768,7 +768,7 @@ exports.getTableRowLookupWithPopulatedDropdownCells = getTableRowLookupWithPopul
768
768
 
769
769
  var getInputGroupRowLookupWithPopulatedDropdownCells = function getInputGroupRowLookupWithPopulatedDropdownCells(columns, rows) {
770
770
  var rowsLookup = {};
771
- var validRows = typeof row === 'string' ? JSON.parse(rows) : rows;
771
+ var validRows = typeof rows === 'string' ? JSON.parse(rows) : rows;
772
772
  validRows.forEach(function (row) {
773
773
  var nextRow = _objectSpread(_objectSpread({}, row), {}, {
774
774
  cells: _objectSpread({}, row.cells)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builttocreate/engine-utils",
3
- "version": "1.9.0-rc.1.1.0",
3
+ "version": "1.9.0-rc.1.1.2",
4
4
  "description": "Utility library for common logic shared across web and mobile",
5
5
  "main": "dist/index.js",
6
6
  "files": [