From 1321f2095d4259a2b985030702f713d95feee715 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Thu, 23 May 2019 20:08:02 +0800 Subject: Fix instance instantiation for CCVPN Change-Id: I2d8a9b4e868bb74d4409540d46ce87e604e17c57 Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri --- .../src/app/ccvpn-detail/ccvpn-detail.component.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usecaseui-portal/src/app/ccvpn-detail') diff --git a/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts b/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts index 0b138575..f599e82b 100644 --- a/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts +++ b/usecaseui-portal/src/app/ccvpn-detail/ccvpn-detail.component.ts @@ -715,16 +715,16 @@ export class CcvpnDetailComponent implements OnInit { serviceType: globalServiceType, //serviceType.value parameters: { locationConstraints: [], - }, - resources: [], - requestInputs: { - sdwanvpnresource_list: [], - sdwansiteresource_list: [] + resources: [], + requestInputs: { + sdwanvpnresource_list: [], + sdwansiteresource_list: [] + } } } }; - servicebody.service.requestInputs.sdwanvpnresource_list = servicebody.service.requestInputs.sdwanvpnresource_list.concat(this.sotnVpnTableData); - servicebody.service.requestInputs.sdwansiteresource_list = servicebody.service.requestInputs.sdwansiteresource_list.concat(this.siteTableData); + servicebody.service.parameters.requestInputs.sdwanvpnresource_list = servicebody.service.parameters.requestInputs.sdwanvpnresource_list.concat(this.sotnVpnTableData); + servicebody.service.parameters.requestInputs.sdwansiteresource_list = servicebody.service.parameters.requestInputs.sdwansiteresource_list.concat(this.siteTableData); console.log(servicebody); this.closeUpdate.emit(servicebody); } -- cgit 1.2.3-korg