nuxeo-development-framework 0.2.6 → 0.2.7
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/nuxeo-development-framework.umd.js +1 -3
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/notifications/notifications.service.js +2 -4
- package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +1 -1
- package/fesm2015/nuxeo-development-framework.js +1 -3
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/package.json +1 -1
|
@@ -15771,9 +15771,7 @@
|
|
|
15771
15771
|
if (_this.stompClient) {
|
|
15772
15772
|
_this.subscriber = _this.stompClient.subscribe("/user/topic/notification", function (data) {
|
|
15773
15773
|
var notification = JSON.parse(data.body);
|
|
15774
|
-
|
|
15775
|
-
_this.resetNotifications();
|
|
15776
|
-
_this.fetchNotifications().subscribe(function () { });
|
|
15774
|
+
_this._notifications.unshift(notification);
|
|
15777
15775
|
_this.getCount().subscribe(function () { });
|
|
15778
15776
|
_this.listenerObserver.emit(notification);
|
|
15779
15777
|
});
|