summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2018-11-09 03:22:07 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-09 03:22:07 +0000
commit9d1c759c202f3f14f02a1ae04d3b184a8ea8be8e (patch)
tree512070171b41064a0e03cc60f3461548b74c5818 /usecaseui-portal/src/app
parent0fe491eeac8cf97375328acab038a9880c528082 (diff)
parentf07948dbad0c5bca27c6c4ed25de5bc1fa0877fc (diff)
Merge "Fix instance instantiation for CCVPN"
Diffstat (limited to 'usecaseui-portal/src/app')
-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];