@sumaris-net/ngx-components 1.21.0-beta12 → 1.21.0-beta13

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.
@@ -30259,6 +30259,8 @@
30259
30259
  }
30260
30260
  var unreadCount = _this.unreadEvents(data);
30261
30261
  _this._count$.next(unreadCount);
30262
+ // Must re-order because of listenChanges result will add new event at the end
30263
+ data = EntityUtils.sort(data, page.sortBy, page.sortDirection);
30262
30264
  return {
30263
30265
  data: data,
30264
30266
  total: toNumber(res === null || res === void 0 ? void 0 : res.total, unreadCount)