From 6ba6cb2d116e6e6b4b7532a713b89881c4e11928 Mon Sep 17 00:00:00 2001 From: enadhilal Date: Sun, 5 Sep 2021 17:29:38 +0300 Subject: [PATCH] fixing --- .../work-list-replacement-roll.component.ts | 6 ++++-- Mohem/src/assets/localization/i18n.json | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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 27f66955..776a93a0 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 @@ -53,7 +53,7 @@ export class WorkListReplacementRollComponent implements OnInit { this.P_PAGE_LIMIT = 50; this.getPassActionMode = this.cs.sharedService.getSharedData('passActionMode', false); console.log(this.getPassActionMode); - this.getFavruite(); + // this.getFavruite(); this.getPassNotificationDetails = this.cs.sharedService.getSharedData('passNotificationInfo', false); this.getpassResAttr = this.cs.sharedService.getSharedData('passResAttr', false); console.log(this.getpassResAttr); @@ -429,7 +429,9 @@ export class WorkListReplacementRollComponent implements OnInit { this.selectedType = 1; this.listOfRealted = this.actionHistory; } else if(selectValue === '4'){ - // this.getFavruite(); + console.log(this.listOfFav.length) + if(this.favoriteUserList.length === 0 || this.favoriteUserList === undefined ) + this.getFavruite(); this.isFilter = true; this.selectedType = 4; } else if( selectValue === '2' || selectValue === '3' || selectValue === '5'){ diff --git a/Mohem/src/assets/localization/i18n.json b/Mohem/src/assets/localization/i18n.json index 28933bd8..01c556c6 100644 --- a/Mohem/src/assets/localization/i18n.json +++ b/Mohem/src/assets/localization/i18n.json @@ -2194,8 +2194,8 @@ "ar": "البحث باسم المستخدم" }, "searchbyname": { - "en": " Search by name", - "ar": "البحث عن طريق الإسم " + "en": " Search ", + "ar": "بحث " }, "searchbyemail": { "en": "Search by email",