From f07948dbad0c5bca27c6c4ed25de5bc1fa0877fc Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Thu, 8 Nov 2018 18:15:14 +0800 Subject: Fix instance instantiation for CCVPN Change-Id: I9de985457ceb9c026c16eefaa48c0bde3c85a2cf Issue-ID: USECASEUI-170 Signed-off-by: guochuyicmri --- usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usecaseui-portal') 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]; -- cgit 1.2.3-korg