@trudb/tru-common-lib 0.2.96 → 0.2.97

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.
@@ -3984,7 +3984,7 @@ class TruDetailViewBase {
3984
3984
  if (!newEntity)
3985
3985
  newEntity = this.dataContext.entityAccess().add(this.entityType);
3986
3986
  if (this.view.parentTableRefName)
3987
- newEntity[this.tableName + 'Ref'] = this.entity[this.view.parentTableRefName];
3987
+ newEntity[this.view.parentTableRefName] = this.entity[this.view.parentTableRefName];
3988
3988
  this.entities.splice(this.navigationIndex + 1, 0, newEntity);
3989
3989
  this.navigateTo(this.navigationIndex + 1);
3990
3990
  };