@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.
- package/dist/activityHelper.js +1 -1
- package/dist/tableHelper.js +1 -1
- package/package.json +1 -1
package/dist/activityHelper.js
CHANGED
|
@@ -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.
|
package/dist/tableHelper.js
CHANGED
|
@@ -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
|
|
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)
|