@trudb/tru-common-lib 0.1.981 → 0.1.982

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.
@@ -7336,10 +7336,10 @@ class TruDataGrid {
7336
7336
  if (this.copiedRowData.length) {
7337
7337
  this.copiedRowData.forEach((row) => {
7338
7338
  let newEntity = this.dataContext.entityAccess().add(this.config.resultConfig.entityType);
7339
- var properties = row.getPropertyNames();
7339
+ let properties = row.entityType.getPropertyNames();
7340
7340
  properties
7341
7341
  .filter((propertyName) => {
7342
- return propertyName !== 'Ref' && propertyName !== this.config.resultConfig.entityType + 'Ref';
7342
+ return propertyName !== 'Ref' && propertyName !== this.config.resultConfig.entityType.name + 'Ref';
7343
7343
  })
7344
7344
  .forEach((propertyName) => {
7345
7345
  if (typeof newEntity.setProperty !== 'undefined')