@builttocreate/engine-utils 1.18.2-rc.1.0.1 → 1.18.2-rc.1.0.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 +2 -2
- package/package.json +1 -1
package/dist/tableHelper.js
CHANGED
|
@@ -384,8 +384,8 @@ exports.sortColumns = sortColumns;
|
|
|
384
384
|
|
|
385
385
|
var getTargetColumnOperand = function getTargetColumnOperand(columnOrder, columns, columnId) {
|
|
386
386
|
// return targetColumn with operand
|
|
387
|
-
var targetColumn =
|
|
388
|
-
return col._id ===
|
|
387
|
+
var targetColumn = columns.find(function (col) {
|
|
388
|
+
return col._id === columnId;
|
|
389
389
|
});
|
|
390
390
|
|
|
391
391
|
var nextColumn = _objectSpread({}, targetColumn);
|