sccoreui 6.1.30 → 6.1.31

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.
@@ -98,6 +98,9 @@ const fillOperation = (params, api, parentNode, editedRecords, setEditedRecords)
98
98
  const rowData = rowNode === null || rowNode === void 0 ? void 0 : rowNode.data;
99
99
  // Check if rowData exists and update the field
100
100
  if (rowData && (rowNode.id != parentRowData.id)) {
101
+ // Skip edit for same values
102
+ if ((rowData === null || rowData === void 0 ? void 0 : rowData[columnDetails === null || columnDetails === void 0 ? void 0 : columnDetails.field]) === (parentRowData === null || parentRowData === void 0 ? void 0 : parentRowData[columnDetails === null || columnDetails === void 0 ? void 0 : columnDetails.field]))
103
+ continue;
101
104
  // If Dragged cell is grouped only group headers should edit vice versa to child cells
102
105
  if (((_a = rowData === null || rowData === void 0 ? void 0 : rowData.orgHierarchy) === null || _a === void 0 ? void 0 : _a.length) !== ((_b = parentRowData === null || parentRowData === void 0 ? void 0 : parentRowData.orgHierarchy) === null || _b === void 0 ? void 0 : _b.length))
103
106
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "6.1.30",
3
+ "version": "6.1.31",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",