+
+ this.brandName = "ONAP Portal";
+ if(this.api.brandName != ''){
+ this.brandName = this.api.brandName;
+ }
+
+ this.brandLogoImagePath = "assets/images/global.logo";
+ if(this.api.brandLogoImagePath != ''){
+ this.brandLogoImagePath = this.api.brandLogoImagePath;
+ }
+
+ }
+
+ getLanguageInfo() {
+ this.menusService.getAllLanguages().subscribe(data =>{
+ this.result = data;
+ for(let lang of this.result.languageList ){
+ this.languages.push(lang);
+ }
+
+ this.menusService.getCurrentLang(this.loginSnippetUserid).subscribe(data=>{
+ this.result = data;
+ this.languages.map((obj:any)=>{
+ obj.selected = obj.languageId == parseInt(this.result.languageId);
+ }) ;
+ });
+ });