@trudb/tru-common-lib 0.2.93 → 0.2.94
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.
|
@@ -3982,6 +3982,7 @@ class TruDetailViewBase {
|
|
|
3982
3982
|
onAddEntity = (newEntity) => {
|
|
3983
3983
|
if (!newEntity)
|
|
3984
3984
|
newEntity = this.dataContext.entityAccess().add(this.entityType);
|
|
3985
|
+
newEntity[this.tableName + 'Ref'] = this.entity[this.tableName + 'Ref'];
|
|
3985
3986
|
this.entities.splice(this.navigationIndex + 1, 0, newEntity);
|
|
3986
3987
|
this.navigateTo(this.navigationIndex + 1);
|
|
3987
3988
|
};
|