Skip to content

Commit

Permalink
Merge pull request #403 from Madhuravas/develop
Browse files Browse the repository at this point in the history
MOSIP-28550 changed missed labels
  • Loading branch information
aranaravi authored Jul 27, 2023
2 parents 53469c4 + f5f566d commit bb163a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class ViewhistoryComponent implements OnInit, OnDestroy {
message2:any;
langCode = localStorage.getItem("langCode");
serviceHistorySelectedValue: string;
statusHistorySelectedValue: string = "Status";
statusHistorySelectedValue: string;
isLoading:boolean = true;
dataAvailable:boolean = false;
sitealignment:string = localStorage.getItem('direction');
Expand Down Expand Up @@ -179,7 +179,7 @@ export class ViewhistoryComponent implements OnInit, OnDestroy {
})
} else {
this[formControlName] = "";
this.statusHistorySelectedValue = 'Status';
this.statusHistorySelectedValue = this.langJSON.viewhistory.status;
this.statusTypeFilter = this.statusTypeFilter.map(eachServiceType => {
eachServiceType.label.checked = false;
return eachServiceType
Expand All @@ -205,7 +205,7 @@ export class ViewhistoryComponent implements OnInit, OnDestroy {
});

if(!this.statusHistorySelectedValue){
this.statusHistorySelectedValue = "Status";
this.statusHistorySelectedValue = this.langJSON.viewhistory.status;
}else if(this.statusHistorySelectedValue.length > 26){
this.statusHistorySelectedValue = this.statusHistorySelectedValue.substring(0,24) + "...";
}else{
Expand All @@ -229,7 +229,7 @@ export class ViewhistoryComponent implements OnInit, OnDestroy {
})
} else {
this[formControlName] = "";
this.serviceHistorySelectedValue = 'History Type';
this.serviceHistorySelectedValue = this.langJSON.viewhistory.historyType;
this.serviceTypeFilter = this.serviceTypeFilter.map(eachServiceType => {
eachServiceType.label.checked = false;
return eachServiceType
Expand All @@ -254,7 +254,7 @@ export class ViewhistoryComponent implements OnInit, OnDestroy {
});

if(!this.serviceHistorySelectedValue){
this.serviceHistorySelectedValue = "History type";
this.serviceHistorySelectedValue = this.langJSON.viewhistory.historyType;
}else if(this.serviceHistorySelectedValue.length > 26){
this.serviceHistorySelectedValue = this.serviceHistorySelectedValue.substring(0,24) + "...";
}else{
Expand Down
2 changes: 1 addition & 1 deletion resident-ui/src/assets/i18n/fra.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"searchBtn": "Rechercher",
"description": "Description",
"timestamp": "Horodatage",
"selectAll": "Tout sélectionner",
"selectAll": "Tout",
"noData": "Aucun résultat à afficher",
"historyType":"Type d'historique",
"status":"Statut",
Expand Down

0 comments on commit bb163a6

Please sign in to comment.