@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.
- package/bundles/churchillliving-se-ui-toolkit.umd.js +3 -4
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +4 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js +3 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4046,11 +4046,10 @@ class GridComponent {
|
|
|
4046
4046
|
this.rowActionEvents(selectedRow);
|
|
4047
4047
|
this.browserCloseEvent(false);
|
|
4048
4048
|
if (row.isNew) {
|
|
4049
|
-
if (this.addDataKeyValue) {
|
|
4050
|
-
row['id'] = selectedRow['id'];
|
|
4051
|
-
}
|
|
4052
4049
|
const { isNew } = row, newRowObj = __rest(row, ["isNew"]);
|
|
4053
|
-
|
|
4050
|
+
if (!this.addDataKeyValue) {
|
|
4051
|
+
delete newRowObj[this.dataKey];
|
|
4052
|
+
}
|
|
4054
4053
|
if (this.saveAllRecord) {
|
|
4055
4054
|
this.saveRecordArray.push(newRowObj);
|
|
4056
4055
|
}
|