@churchillliving/se-ui-toolkit 6.53.370 → 6.53.371

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.
@@ -4263,10 +4263,10 @@
4263
4263
  });
4264
4264
  }
4265
4265
  //when we add a new row, it set the default value
4266
- if (column.value && Object.keys(_this.newGridRow).length > 0) {
4267
- var key = Object.keys(_this.newGridRow).find(function (x) { return x === column.field; });
4268
- if (key && key.toLowerCase() === column.field.toLowerCase()) {
4269
- _this.newGridRow[key] = column.value;
4266
+ if (column.value) {
4267
+ var key = Object.keys(_this.newGridRow).find(function (x) { var _a; return (x === null || x === void 0 ? void 0 : x.toLowerCase()) === ((_a = column.field) === null || _a === void 0 ? void 0 : _a.toLowerCase()); });
4268
+ if (!key) {
4269
+ _this.newGridRow[column.field] = column.value;
4270
4270
  }
4271
4271
  }
4272
4272
  });