X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Flaunchpad_card%2FvnfrConfigPrimitives.jsx;h=d9b71823822579900acfab6c33c3da2990fdfe06;hb=072388a12f3b46b51196239f0b7fc32ec1ae14b1;hp=94ad3020bed39250169582a31166369a024a42d3;hpb=c2edea79c193c2817fdf42a3b3dca683335dffa7;p=osm%2FUI.git diff --git a/skyquake/plugins/launchpad/src/launchpad_card/vnfrConfigPrimitives.jsx b/skyquake/plugins/launchpad/src/launchpad_card/vnfrConfigPrimitives.jsx index 94ad3020b..d9b718238 100644 --- a/skyquake/plugins/launchpad/src/launchpad_card/vnfrConfigPrimitives.jsx +++ b/skyquake/plugins/launchpad/src/launchpad_card/vnfrConfigPrimitives.jsx @@ -46,7 +46,7 @@ handleParamChange = (paramIndex, configPrimitiveIndex, vnfrIndex, e) => { let vnfrs = this.state.vnfrs; - vnfrs[vnfrIndex]["vnf-configuration"]["config-primitive"][configPrimitiveIndex]["parameter"][paramIndex].value = e.target.value + vnfrs[vnfrIndex]["vnf-configuration"]["service-primitive"][configPrimitiveIndex]["parameter"][paramIndex].value = e.target.value this.setState({ vnfrs: vnfrs }) @@ -63,8 +63,8 @@ constructConfigPrimitiveTabs = (tabList, tabPanels) => { let mandatoryFieldValue = 'true'; this.state.vnfrs && this.state.vnfrs.map((vnfr, vnfrIndex) => { - if (vnfr['vnf-configuration'] && vnfr['vnf-configuration']['config-primitive'] && vnfr['vnf-configuration']['config-primitive'].length > 0) { - vnfr['vnf-configuration']['config-primitive'].map((configPrimitive, configPrimitiveIndex) => { + if (vnfr['vnf-configuration'] && vnfr['vnf-configuration']['service-primitive'] && vnfr['vnf-configuration']['service-primitive'].length > 0) { + vnfr['vnf-configuration']['service-primitive'].map((configPrimitive, configPrimitiveIndex) => { let params = []; if (configPrimitive['parameter'] && configPrimitive['parameter'].length > 0) { configPrimitive['parameter'].map((param, paramIndex) => { @@ -123,7 +123,7 @@ return (