@builttocreate/engine-utils 1.8.1-rc.1.2.1 → 1.8.1-rc.1.2.3

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.
@@ -737,12 +737,11 @@ var getRowLookupWithPopulatedDropdownCells = function getRowLookupWithPopulatedD
737
737
 
738
738
  if (optionId && optionId.charAt(0) === '=') {
739
739
  var columnOperand = getColumnOperand(i);
740
- var cellOperand = getCellOperand(columnOperand, rowIndex);
740
+ var cellOperand = getCellOperand(columnOperand, rowIndex + 1);
741
741
  console.log('celloperand', cellOperand);
742
742
  console.log('tableLookup', tableLookup);
743
- }
744
-
745
- if (optionId && column.type === _FieldTableColumnTypes["default"].dropdown) {
743
+ nextRow.cells[column._id] = tableLookup[cellOperand];
744
+ } else if (optionId && column.type === _FieldTableColumnTypes["default"].dropdown) {
746
745
  nextRow.cells[column._id] = column.optionsLookup[optionId] ? column.optionsLookup[optionId].value : optionId;
747
746
  }
748
747
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builttocreate/engine-utils",
3
- "version": "1.8.1-rc.1.2.1",
3
+ "version": "1.8.1-rc.1.2.3",
4
4
  "description": "Utility library for common logic shared across web and mobile",
5
5
  "main": "dist/index.js",
6
6
  "files": [