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.
@@ -16423,14 +16423,26 @@
16423
16423
  };
16424
16424
  NotificationItemComponent.prototype.ngOnChanges = function (changes) {
16425
16425
  var _this = this;
16426
- this.notification.notificationContents.forEach(function (res) {
16427
- if (res.lang === "AR") {
16428
- _this.arContent = res.message;
16429
- }
16430
- if (res.lang === "EN") {
16431
- _this.enContent = res.message;
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();