nuxeo-development-framework 1.2.4 → 1.2.5
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 +20 -8
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +21 -9
- package/fesm2015/nuxeo-development-framework.js +20 -8
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/package.json +1 -1
|
@@ -16423,14 +16423,26 @@
|
|
|
16423
16423
|
};
|
|
16424
16424
|
NotificationItemComponent.prototype.ngOnChanges = function (changes) {
|
|
16425
16425
|
var _this = this;
|
|
16426
|
-
this.notification.
|
|
16427
|
-
|
|
16428
|
-
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
|
|
16432
|
-
|
|
16433
|
-
|
|
16426
|
+
if (this.notification.data.correspondenceReferenceNumber) {
|
|
16427
|
+
this.notification.notificationContents.forEach(function (res) {
|
|
16428
|
+
if (res.lang === "AR") {
|
|
16429
|
+
_this.arContent = res.message;
|
|
16430
|
+
}
|
|
16431
|
+
if (res.lang === "EN") {
|
|
16432
|
+
_this.enContent = res.message;
|
|
16433
|
+
}
|
|
16434
|
+
});
|
|
16435
|
+
}
|
|
16436
|
+
else {
|
|
16437
|
+
this.notification.notificationContents.forEach(function (res) {
|
|
16438
|
+
if (res.lang === "AR") {
|
|
16439
|
+
_this.arContent = res.message.replace("رقم", "رقم -");
|
|
16440
|
+
}
|
|
16441
|
+
if (res.lang === "EN") {
|
|
16442
|
+
_this.enContent = res.message;
|
|
16443
|
+
}
|
|
16444
|
+
});
|
|
16445
|
+
}
|
|
16434
16446
|
};
|
|
16435
16447
|
/* async showOptions(event) {
|
|
16436
16448
|
event.stopPropagation();
|