@sumaris-net/ngx-components 1.21.0-beta11 → 1.21.0-beta14

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.
@@ -30258,6 +30258,9 @@
30258
30258
  now = null;
30259
30259
  }
30260
30260
  var unreadCount = _this.unreadEvents(data);
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);
30261
30264
  return {
30262
30265
  data: data,
30263
30266
  total: toNumber(res === null || res === void 0 ? void 0 : res.total, unreadCount)
@@ -31008,7 +31011,6 @@
31008
31011
  if (_this.debug) {
31009
31012
  console.debug(_this._logPrefix + "Receiving new user events", data);
31010
31013
  }
31011
- _this.userEventsSubject.next(data);
31012
31014
  }));
31013
31015
  this._readEvent.subscribe(function (value) {
31014
31016
  _this.userEventService.markAsRead(value);