tnx-shared 5.1.407 → 5.1.408
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/tnx-shared.umd.js +5 -1
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/components/tn-app-notification/tn-app-notification.component.js +2 -2
- package/esm2015/services/notification.service.js +5 -1
- package/fesm2015/tnx-shared.js +5 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/notification.service.d.ts +1 -0
- package/services/notification.service.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
|
@@ -42773,6 +42773,10 @@
|
|
|
42773
42773
|
_this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.notificationCRUDEndpoint;
|
|
42774
42774
|
return _this;
|
|
42775
42775
|
}
|
|
42776
|
+
NotificationService.prototype.getAllUserUnreadNotification = function () {
|
|
42777
|
+
var url = this.serviceUri + "/AllUserUnreadNotification";
|
|
42778
|
+
return this.defaultGet(url);
|
|
42779
|
+
};
|
|
42776
42780
|
NotificationService.prototype.getAllUserReadNotification = function () {
|
|
42777
42781
|
var url = this.serviceUri + "/AllUserReadNotification";
|
|
42778
42782
|
return this.defaultGet(url);
|
|
@@ -55176,7 +55180,7 @@
|
|
|
55176
55180
|
_this.bounceNoti = true;
|
|
55177
55181
|
_this.afterGetNotication();
|
|
55178
55182
|
}); }),
|
|
55179
|
-
this._notificationService.
|
|
55183
|
+
this._notificationService.getAllUserUnreadNotification().then(function (res) {
|
|
55180
55184
|
if (res.data == null || !res.success) {
|
|
55181
55185
|
_this._notifierService.showWarningByResponse(res);
|
|
55182
55186
|
return;
|