diff options
author | 2018-11-08 18:15:14 +0800 | |
---|---|---|
committer | 2018-11-08 18:15:27 +0800 | |
commit | f07948dbad0c5bca27c6c4ed25de5bc1fa0877fc (patch) | |
tree | c95ba081222c32d8a6d1132171003bd22a600213 /usecaseui-portal/src/app/ccvpn-creation/ccvpn-creation.component.ts | |
parent | 5a45365c037a43d2c0a04ffb96b3f91f7e49b6ac (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.ts | 3 |
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]; |