@trudb/tru-common-lib 0.2.409 → 0.2.413
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.
|
@@ -6630,7 +6630,7 @@ class TruDataGridClipboard {
|
|
|
6630
6630
|
propertyName !== 'Merge_Data_Set' &&
|
|
6631
6631
|
!propertyName.startsWith('o')) {
|
|
6632
6632
|
selectedRow.$entity.setProperty(propertyName, copiedRow.$entity.getProperty(propertyName));
|
|
6633
|
-
if (selectedRow[propertyName] &&
|
|
6633
|
+
if (selectedRow[propertyName] && Object.getOwnPropertyDescriptor(selectedRow[propertyName], '$')?.set !== undefined)
|
|
6634
6634
|
selectedRow[propertyName].$ = copiedRow.$entity.getProperty(propertyName);
|
|
6635
6635
|
}
|
|
6636
6636
|
});
|
|
@@ -6658,10 +6658,9 @@ class TruDataGridClipboard {
|
|
|
6658
6658
|
})
|
|
6659
6659
|
.forEach((propertyName) => {
|
|
6660
6660
|
if (typeof newEntity.setProperty !== 'undefined') {
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
newEntity.setProperty(propertyName, row.$entity.getProperty(propertyName));
|
|
6661
|
+
newEntity.setProperty(propertyName, row.$entity.getProperty(propertyName));
|
|
6662
|
+
if (row[propertyName] && Object.getOwnPropertyDescriptor(row[propertyName], '$')?.set !== undefined)
|
|
6663
|
+
row[propertyName].$ = row.$entity.getProperty(propertyName);
|
|
6665
6664
|
}
|
|
6666
6665
|
});
|
|
6667
6666
|
addEntity(newEntity, false);
|