@builttocreate/engine-utils 1.9.2 → 1.9.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.
- package/dist/tableHelper.js +3 -3
- package/package.json +1 -1
package/dist/tableHelper.js
CHANGED
|
@@ -670,7 +670,7 @@ var generateInputGroupFields = function generateInputGroupFields(field, columns)
|
|
|
670
670
|
activity.forEach(function (act) {
|
|
671
671
|
var rowId = act.document.row;
|
|
672
672
|
var columnId = act.document.column;
|
|
673
|
-
var cellKey = "".concat(field._id
|
|
673
|
+
var cellKey = "".concat(field._id).concat(rowId).concat(columnId);
|
|
674
674
|
if (!cellActivityLookup[cellKey]) cellActivityLookup[cellKey] = 0;
|
|
675
675
|
cellActivityLookup[cellKey] += 1;
|
|
676
676
|
});
|
|
@@ -684,7 +684,7 @@ var generateInputGroupFields = function generateInputGroupFields(field, columns)
|
|
|
684
684
|
*/
|
|
685
685
|
|
|
686
686
|
tableReferences.push({
|
|
687
|
-
uniqueId: "".concat(field._id
|
|
687
|
+
uniqueId: "".concat(field._id).concat(row._id),
|
|
688
688
|
_id: field._id,
|
|
689
689
|
title: field.title,
|
|
690
690
|
type: _Table.inputGroupFieldTypes.inputGroupRowHeader,
|
|
@@ -703,7 +703,7 @@ var generateInputGroupFields = function generateInputGroupFields(field, columns)
|
|
|
703
703
|
var lastColumnIndex = columnIndex === tableColumns.length - 1;
|
|
704
704
|
var value = row && row.cells ? row.cells[column._id] : '';
|
|
705
705
|
var displayValue = column.type === _FieldTableColumnTypes["default"].dropdown ? columnOptionValueLookup[column._id][value] : value;
|
|
706
|
-
var cellKey = "".concat(field._id
|
|
706
|
+
var cellKey = "".concat(field._id).concat(row._id).concat(column._id);
|
|
707
707
|
tableReferences.push({
|
|
708
708
|
uniqueId: cellKey,
|
|
709
709
|
_id: field._id,
|