@trudb/tru-common-lib 0.2.339 → 0.2.341

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.
@@ -6061,7 +6061,7 @@ class TruFormatter {
6061
6061
  datetimeShort = (cfg) => {
6062
6062
  var v = cfg.$;
6063
6063
  if (!v)
6064
- return 'mm/dd/yyyy hh:mm a';
6064
+ return 'mm/dd/yyyy hh:mm AM';
6065
6065
  return this.formatDate(v, 'MM/dd/yyyy hh:mm a');
6066
6066
  };
6067
6067
  datetimespanShort = (cfg) => {
@@ -7822,7 +7822,7 @@ class TruDataGrid {
7822
7822
  }
7823
7823
  });
7824
7824
  }
7825
- if (change.changeOperation === 'U') {
7825
+ if (change.changeOperation === 'U' || change.changeOperation === 'I') {
7826
7826
  this.api.forEachNode((rowNode) => {
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]);