summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-06-17 10:29:00 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-06-17 10:29:15 +0800
commitdb8ed98553a34acae2930cccdb688a3be3285f90 (patch)
treeda17148cae46c33c45eb2a066e2db998a8a9c592 /usecaseui-portal/src/app
parentcf119161cc81a9a6eceaef288ff33c2a6a43349d (diff)
UUI interface Multi-language development
Change-Id: I8bf9560e937dc2295ef23b10df4f43e9b88c31d3 Issue-ID: USECASEUI-211 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/home/home.component.ts5
1 files changed, 4 insertions, 1 deletions
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);