X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fcomposer%2Fsrc%2Fsrc%2Fcomponents%2FEditConfigParameterMap.js;h=f89b14a1beb3dd8eab8368bd2976b49ce26b1bbf;hp=bbf771bb269d24f891973f8b4b6ffee431be9532;hb=98ee84ae45e88a9e2197914e7613a2fc3d3a7915;hpb=109fb4a186f5393d5488f97a5e29c8f18973c35b diff --git a/skyquake/plugins/composer/src/src/components/EditConfigParameterMap.js b/skyquake/plugins/composer/src/src/components/EditConfigParameterMap.js index bbf771bb2..f89b14a1b 100644 --- a/skyquake/plugins/composer/src/src/components/EditConfigParameterMap.js +++ b/skyquake/plugins/composer/src/src/components/EditConfigParameterMap.js @@ -425,14 +425,8 @@ export default function EditDescriptorModelProperties(props, type) { const hasBasicFields = basicProperties.length > 0; const closeGroup = basicProperties.length > 0; return ( -
-
- Request -
-
- Source -
- {properties.map((property,i) => { + + properties.map((property,i) => { const path = [property.name]; const value = container.model[property.name]; if(path == 'id') { @@ -446,18 +440,16 @@ export default function EditDescriptorModelProperties(props, type) { let vnfd = catalogs[1].descriptors.filter((v) => v.id == vnfdIdRef)[0]; let primitiveName = vnfd['config-parameter']['config-parameter-request'].filter((p) => p.name == value['config-parameter-request-ref'] )[0].parameter[0]['config-primitive-name-ref']; return ( -
- {`${vnfd['short-name']}(${vnfdIndexRef}) / ${primitiveName} / ${value['config-parameter-request-ref']}`} +
+ {`${vnfd['short-name']} (${vnfdIndexRef}) / ${primitiveName} / ${value['config-parameter-request-ref']}`}
) } else if(path == 'config-parameter-source') { //Builds Source - return
{build(container, property, path, value, _.assign({toggle: true, width: props.width}, props), value['member-vnf-index-ref'])}
+ return
{build(container, property, path, value, _.assign({toggle: true, width: props.width}, props), value['member-vnf-index-ref'])}
} - })} -
We need this so when the user closes the panel it won't shift away and scare the bj out of them!
-
+ }) ); } @@ -477,7 +469,7 @@ export default function EditDescriptorModelProperties(props, type) { path.push(container); return ( -
+
{buildAdvancedGroup()}
);