@trudb/tru-common-lib 0.2.394 → 0.2.396

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.
@@ -6622,8 +6622,9 @@ class TruDataGridClipboard {
6622
6622
  properties
6623
6623
  .forEach((propertyName) => {
6624
6624
  let property = this.modelPropertyLookup.lookup.get(this.tableName + '.' + propertyName);
6625
+ let excludedFromCloning = property ? property.excludeFromCloning : false;
6625
6626
  if (typeof selectedRow.$entity.setProperty !== 'undefined' &&
6626
- !property?.excludeFromCloning &&
6627
+ excludedFromCloning &&
6627
6628
  propertyName !== config.tableName + 'Ref' &&
6628
6629
  propertyName !== 'rowver' &&
6629
6630
  propertyName !== 'Merge_Data_Set' &&
@@ -6646,8 +6647,9 @@ class TruDataGridClipboard {
6646
6647
  properties
6647
6648
  .filter((propertyName) => {
6648
6649
  let property = this.modelPropertyLookup.lookup.get(this.tableName + '.' + propertyName);
6650
+ let excludedFromCloning = property ? property.excludeFromCloning : false;
6649
6651
  return propertyName !== 'Ref' &&
6650
- !property?.excludeFromCloning &&
6652
+ !excludedFromCloning &&
6651
6653
  propertyName !== config.resultConfig.entityType.name + 'Ref' &&
6652
6654
  !this.util.isLowerCase(propertyName.charAt(0));
6653
6655
  })