return (
<div className="ConfigParameterMap">
- <div className="config-parameter-map">
- <div className="config-parameter-titles">
- <div className="config-parameter">
- Request
- </div>
- <div className="config-parameter">
- Source
- </div>
- </div>
+
<div className="config-parameter-map">
+ <div className="config-parameter-titles">
+ <div className="config-parameter">
+ Primitive Parameter Request
+ </div>
+ <div className="config-parameter">
+ Data Source
+ </div>
+ </div>
{
MapData.Requests.map(function(r, i) {
let currentValue = {};
requestValue: r.name,
requestIndex: r.vnfdIndex
}
- SourceOptions.push(<option value={JSON.stringify(value)} key={`${j}-${i}`} >{`${s.vnfdName} (${s.vnfdIndex}) / ${s.name}`}</option>)
+ if (r.vnfdIndex !== s.vnfdIndex) {
+ SourceOptions.push(<option value={JSON.stringify(value)} key={`${j}-${i}`} >{`${s.vnfdName} (${s.vnfdIndex}): ${s.name}`}</option>)
+ }
})
//Finds current value
NSContainer.model['config-parameter-map'] && NSContainer.model['config-parameter-map'].map((c)=>{
let currentMapIndex = (mapCounter > 0) ? (mapCounter) - 1: 0;
return (
<div key={i} className="EditDescriptorModelProperties -is-tree-view config-parameter config-parameter-group">
- <div className="config-parameter-request" >{`${r.vnfdName} (${r.vnfdIndex}) / ${r.parameter && r.parameter[0]['config-primitive-name-ref']} / ${r.parameter && r.parameter[0]['config-primitive-parameter-ref']}`}</div>
+ <div className="config-parameter-request" >{`${r.vnfdName} (${r.vnfdIndex}): ${r.name}`}</div>
<div className="config-parameter-source">
<select
onChange={onFormFieldValueChanged.bind(NSContainer, i)}
})
}
</div>
- </div>
</div>
)
}
this.files = false;
this.filesState = {};
this.downloadJobs = {};
+ this.displayedPanel = 'forwarding' //or parameter
//End File manager values
this.bindListeners({
onResize: PanelResizeAction.RESIZE,
} else {
this.openCanvasPanelTray();
}
- this.setState({displayedPanel: panelEvent})
+ if(panelEvent != 'arrow'){
+ this.setState({displayedPanel: panelEvent})
+ }
}
openCanvasPanelTray() {