From: cyuamber Date: Mon, 17 Jun 2019 02:29:00 +0000 (+0800) Subject: UUI interface Multi-language development X-Git-Tag: 2.0.2~295^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F89957%2F1;p=usecase-ui.git UUI interface Multi-language development Change-Id: I8bf9560e937dc2295ef23b10df4f43e9b88c31d3 Issue-ID: USECASEUI-211 Signed-off-by: cyuamber --- diff --git a/usecaseui-portal/src/app/home/home.component.ts b/usecaseui-portal/src/app/home/home.component.ts index 4e18c71c..eaa87823 100644 --- a/usecaseui-portal/src/app/home/home.component.ts +++ b/usecaseui-portal/src/app/home/home.component.ts @@ -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);