@trudb/tru-common-lib 0.2.221 → 0.2.224

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.
@@ -2003,9 +2003,8 @@ class TruDataContext {
2003
2003
  changeArgs.entityAction !== EntityAction.MergeOnSave) {
2004
2004
  this.propertyChanged(changeArgs);
2005
2005
  this.entityChangedHandler(changeArgs);
2006
- }
2007
- if (changeArgs.entityAction === EntityAction.Attach) {
2008
- this.entityAdded(changeArgs);
2006
+ if (changeArgs.entityAction === EntityAction.Attach)
2007
+ this.entityAdded(changeArgs);
2009
2008
  }
2010
2009
  });
2011
2010
  }
@@ -7806,7 +7805,7 @@ class TruDataGrid {
7806
7805
  });
7807
7806
  if (!entityAlreadyInGrid) {
7808
7807
  rowNodesToAdd.push(this.enhanceRowDataForEntity(entity));
7809
- this.api.applyTransaction({ remove: rowNodesToAdd });
7808
+ this.api.applyTransaction({ add: rowNodesToAdd });
7810
7809
  }
7811
7810
  }
7812
7811
  }));