From db8ed98553a34acae2930cccdb688a3be3285f90 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Mon, 17 Jun 2019 10:29:00 +0800 Subject: UUI interface Multi-language development Change-Id: I8bf9560e937dc2295ef23b10df4f43e9b88c31d3 Issue-ID: USECASEUI-211 Signed-off-by: cyuamber --- usecaseui-portal/src/app/home/home.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usecaseui-portal/src/app/home') 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); -- cgit 1.2.3-korg