UUI interface Multi-language development 57/89957/1
authorcyuamber <xuranyjy@chinamobile.com>
Mon, 17 Jun 2019 02:29:00 +0000 (10:29 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Mon, 17 Jun 2019 02:29:15 +0000 (10:29 +0800)
Change-Id: I8bf9560e937dc2295ef23b10df4f43e9b88c31d3
Issue-ID: USECASEUI-211
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/home/home.component.ts

index 4e18c71..eaa8782 100644 (file)
@@ -40,7 +40,7 @@ export class HomeComponent implements OnInit {
     this.getHomeServiceBarVnfData();
     this.getHomeServiceBarPnfData();
   }
-  
+
 
   // services
   serviceNumber:number = 0;
@@ -476,6 +476,9 @@ export class HomeComponent implements OnInit {
   listSortMasters=null;
 
   getListSortMasters(){
+      if(sessionStorage.getItem("DefaultLang") ==undefined){
+          sessionStorage.setItem("DefaultLang","en");
+      }
       this.myhttp.getListSortMasters()
           .subscribe((data)=>{
               this.listSortMasters = JSON.stringify(data);