@trudb/tru-common-lib 0.2.335 → 0.2.337

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.
@@ -7421,7 +7421,7 @@ class TruDataChangeParser {
7421
7421
  else {
7422
7422
  var entityToRemove = this.getEntityFromResults(results, change);
7423
7423
  if (entityToRemove.length) {
7424
- results.splice(results.indexOf(entityToRemove[0]), 1);
7424
+ //results.splice(results.indexOf(entityToRemove[0]), 1);
7425
7425
  reloadResults = true;
7426
7426
  }
7427
7427
  }
@@ -7818,7 +7818,7 @@ class TruDataGrid {
7818
7818
  if (change.changeOperation === 'D') {
7819
7819
  this.api.forEachNode((rowNode) => {
7820
7820
  if (rowNode.data.$entity.Ref === change.tableRef) {
7821
- rowNodesToRemove.push({ id: rowNode.data.$entity.Ref.toString() });
7821
+ rowNodesToRemove.push({ $entity: { Ref: rowNode.data.$entity.Ref.toString() } });
7822
7822
  }
7823
7823
  });
7824
7824
  }
@@ -7827,7 +7827,7 @@ class TruDataGrid {
7827
7827
  if (rowNode.data.$entity.Ref === change.tableRef) {
7828
7828
  let results = this.dataContext.entityAccess().searchByRefArrayCacheOnly(this.config.resultConfig.entityType, this.latestSetupQuery, [rowNode.data.$entity.Ref]);
7829
7829
  if (!results)
7830
- rowNodesToRemove.push({ id: rowNode.data.$entity.Ref.toString() });
7830
+ rowNodesToRemove.push({ $entity: { Ref: rowNode.data.$entity.Ref.toString() } });
7831
7831
  }
7832
7832
  });
7833
7833
  }