@churchillliving/se-ui-toolkit 6.53.13 → 6.53.14

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.
@@ -4536,11 +4536,10 @@
4536
4536
  this.rowActionEvents(selectedRow);
4537
4537
  this.browserCloseEvent(false);
4538
4538
  if (row.isNew) {
4539
- if (this.addDataKeyValue) {
4540
- row['id'] = selectedRow['id'];
4541
- }
4542
4539
  var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
4543
- delete newRowObj[this.dataKey];
4540
+ if (!this.addDataKeyValue) {
4541
+ delete newRowObj[this.dataKey];
4542
+ }
4544
4543
  if (this.saveAllRecord) {
4545
4544
  this.saveRecordArray.push(newRowObj);
4546
4545
  }