diff --git a/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html b/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html index e3a9e8d5..8dfbc335 100644 --- a/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html +++ b/Mohem/src/app/notification/work-list-replacement-itg/work-list-replacement-itg.component.html @@ -282,14 +282,14 @@

- select filter to show data + {{'general, fav-showData' | translate}}

- Sorry there is no data + {{'general, fav-noData' | translate}}

diff --git a/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.html b/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.html index 6d73b5d9..edb614b4 100644 --- a/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.html +++ b/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.html @@ -184,14 +184,14 @@

- select filter to show data + {{'general, fav-showData' | translate}}

- Sorry there is no data + {{'general, fav-noData' | translate}}

diff --git a/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts b/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts index de6bf9f7..f7052c5f 100644 --- a/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts +++ b/Mohem/src/app/notification/work-list-replacement-roll/work-list-replacement-roll.component.ts @@ -463,9 +463,9 @@ export class WorkListReplacementRollComponent implements OnInit { this.counter = 1; } else if (selectValue === '4') { // if (this.favoriteUserList.length === 0 || this.favoriteUserList === undefined) { - // this.getFavruite(); + this.getFavruite(); // } - this.isFilter = true; + this.isFilter = true; this.selectedType = 4; } else if (selectValue === '2' || selectValue === '3' || selectValue === '5') { this.isSelect = true; diff --git a/Mohem/src/assets/localization/i18n.json b/Mohem/src/assets/localization/i18n.json index f1cf1501..7108cc18 100644 --- a/Mohem/src/assets/localization/i18n.json +++ b/Mohem/src/assets/localization/i18n.json @@ -209,6 +209,14 @@ } }, "general": { + "fav-showData": { + "en": "Please select an alphabet to see your favourites", + "ar": "الرجاء تحديد الأبجدية لرؤية المفضلة لديك" + }, + "fav-noData": { + "en": "No data available for favourites", + "ar": "لا توجد بيانات متاحة للمفضلة" + }, "concurrent-report": { "en": "Concurrent Report", "ar": "تقرير متزامن"