summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-08 18:15:14 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-08 18:15:27 +0800
commitf07948dbad0c5bca27c6c4ed25de5bc1fa0877fc (patch)
treec95ba081222c32d8a6d1132171003bd22a600213 /usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
parent5a45365c037a43d2c0a04ffb96b3f91f7e49b6ac (diff)
Fix instance instantiation for CCVPN
Change-Id: I9de985457ceb9c026c16eefaa48c0bde3c85a2cf Issue-ID: USECASEUI-170 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts')
-rw-r--r--usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
index ffc354c7..a2343d7f 100644
--- a/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
+++ b/usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts
@@ -507,6 +507,9 @@ export class CcvpnCreationComponent implements OnInit {
let siteGroupInputs = {};
this.siteGroupNames.forEach((name)=>{
for(let key in item){
+ if(this.namesTranslate.siteGroupNameTranslate[key] == undefined){
+ continue;
+ }
let nameParts = this.namesTranslate.siteGroupNameTranslate[key].split("_");
if(name.startsWith(nameParts[0])&&name.endsWith(nameParts[1])){
siteGroupInputs[name] = item[key];