@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.
- package/bundles/sumaris-net.ngx-components.umd.js +2 -0
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/social/user-event/user-event.service.js +4 -2
- package/fesm2015/sumaris-net.ngx-components.js +3 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -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)
|