@trudb/tru-common-lib 0.2.511 → 0.2.512

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.
@@ -4848,10 +4848,11 @@ class TruDetailViewBase {
4848
4848
  if (!dataNotification) {
4849
4849
  this.entities.unshift(newEntity);
4850
4850
  this.navigateTo(0);
4851
- this.setEntityDisplayValues(this.tableName);
4852
4851
  }
4853
4852
  else {
4854
4853
  this.entities.push(newEntity);
4854
+ if (this.view.active)
4855
+ this.setEntityDisplayValues(this.tableName);
4855
4856
  }
4856
4857
  };
4857
4858
  onCloneEntity = () => {