summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/app.component.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-23 20:08:02 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-23 20:08:24 +0800
commit1321f2095d4259a2b985030702f713d95feee715 (patch)
tree6c22b0339b91ec6b4b5e4458a35d84ecce24637b /usecaseui-portal/src/app/app.component.ts
parentd045d2d97b28dab10805a257e1747e926e43d0fa (diff)
Fix instance instantiation for CCVPN
Change-Id: I2d8a9b4e868bb74d4409540d46ce87e604e17c57 Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/app.component.ts')
-rw-r--r--usecaseui-portal/src/app/app.component.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/app.component.ts b/usecaseui-portal/src/app/app.component.ts
index 01206873..29555943 100644
--- a/usecaseui-portal/src/app/app.component.ts
+++ b/usecaseui-portal/src/app/app.component.ts
@@ -36,9 +36,10 @@ export class AppComponent {
currentloginId = null;
currentLanguage = "en";
currentLanguageGet() {
- this.currentloginId = sessionStorage.getItem("loginId") || null;
+ this.currentloginId = sessionStorage.getItem("userId") || null;
+ console.log(this.currentloginId,"this.currentloginId","loginId");
if (this.currentloginId != null) {
- console.log(this.currentloginId);
+ console.log(this.currentloginId,"this.currentloginId","loginId","you id");
this.myhttp.getCurrentLanguage(this.currentloginId)
.subscribe(
(data) => {