fixed fav issue

sultan-q3
umasoodch 4 years ago
parent 1642e9df1c
commit 124836aa25

@ -282,14 +282,14 @@
<div *ngIf="favLetter.length > 0 && searchKeySelect == '4' && favoriteUserList.length === 0"> <div *ngIf="favLetter.length > 0 && searchKeySelect == '4' && favoriteUserList.length === 0">
<ion-label> <ion-label>
<p style="text-align: center;"> <p style="text-align: center;">
select filter to show data {{'general, fav-showData' | translate}}
</p> </p>
</ion-label> </ion-label>
</div> </div>
<div *ngIf="favoriteUserList.length === 0 && searchKeySelect == '4' && favLetter.length ===0"> <div *ngIf="favoriteUserList.length === 0 && searchKeySelect == '4' && favLetter.length ===0">
<ion-label> <ion-label>
<p style="text-align: center;"> <p style="text-align: center;">
Sorry there is no data {{'general, fav-noData' | translate}}
</p> </p>
</ion-label> </ion-label>
</div> </div>

@ -184,14 +184,14 @@
<div *ngIf="favLetter.length > 0 && searchBy == '4' && favoriteUserList.length === 0"> <div *ngIf="favLetter.length > 0 && searchBy == '4' && favoriteUserList.length === 0">
<ion-label> <ion-label>
<p style="text-align: center;"> <p style="text-align: center;">
select filter to show data {{'general, fav-showData' | translate}}
</p> </p>
</ion-label> </ion-label>
</div> </div>
<div *ngIf="favoriteUserList.length === 0 && searchBy == '4' && favLetter.length ===0"> <div *ngIf="favoriteUserList.length === 0 && searchBy == '4' && favLetter.length ===0">
<ion-label> <ion-label>
<p style="text-align: center;"> <p style="text-align: center;">
Sorry there is no data {{'general, fav-noData' | translate}}
</p> </p>
</ion-label> </ion-label>
</div> </div>

@ -463,7 +463,7 @@ export class WorkListReplacementRollComponent implements OnInit {
this.counter = 1; this.counter = 1;
} else if (selectValue === '4') { } else if (selectValue === '4') {
// if (this.favoriteUserList.length === 0 || this.favoriteUserList === undefined) { // if (this.favoriteUserList.length === 0 || this.favoriteUserList === undefined) {
// this.getFavruite(); this.getFavruite();
// } // }
this.isFilter = true; this.isFilter = true;
this.selectedType = 4; this.selectedType = 4;

@ -209,6 +209,14 @@
} }
}, },
"general": { "general": {
"fav-showData": {
"en": "Please select an alphabet to see your favourites",
"ar": "الرجاء تحديد الأبجدية لرؤية المفضلة لديك"
},
"fav-noData": {
"en": "No data available for favourites",
"ar": "لا توجد بيانات متاحة للمفضلة"
},
"concurrent-report": { "concurrent-report": {
"en": "Concurrent Report", "en": "Concurrent Report",
"ar": "تقرير متزامن" "ar": "تقرير متزامن"

Loading…
Cancel
Save