Skip to content

Commit

Permalink
Merge pull request #295 from GurukiranP/MOSIP-22677
Browse files Browse the repository at this point in the history
[MOSIP-22677] Fixed admin-ui version display issue.
  • Loading branch information
aranaravi authored Mar 12, 2024
2 parents e3b027a + 650bac7 commit f2cc717
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions admin-ui/src/app/core/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class HeaderComponent implements OnInit {
};

zone: string;
appVersion :"";
appVersion : string;
popupMessages: any;
serverError: any;
constructor(
Expand All @@ -53,12 +53,12 @@ export class HeaderComponent implements OnInit {
this.popupMessages = response;
this.serverError = response.serverError;
});
this.appVersion = appConfigService.getConfig()['version'];
setTimeout(() => {
this.appVersion = this.appConfigService.getConfig()['version'];
}, 1)
}

ngOnInit() {
console.log(this.appVersion);
console.log('SreenWidth', this.screenResize);
if (this.headerService.getUsername() !== '') {
this.dataService
.getLoggedInUserZone(
Expand All @@ -67,7 +67,6 @@ export class HeaderComponent implements OnInit {
)
.subscribe(response => {
if (response.response) {
console.log(response.response.zoneName);
this.zone = response.response.zoneName;
}else{
this.dialog
Expand Down

0 comments on commit f2cc717

Please sign in to comment.