From: Laurence Maultsby Date: Tue, 4 Oct 2016 18:15:42 +0000 (-0400) Subject: RIFT-14651: blank initial value for vnf data centers X-Git-Tag: v1.0.1~10^2~21 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=f22401cd2aeae1b9695c872ab49f340cabe105a8;p=osm%2FUI.git RIFT-14651: blank initial value for vnf data centers Signed-off-by: Laurence Maultsby --- diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx index dc40ed6f9..8ccebcb42 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx @@ -82,7 +82,7 @@ export default class InstantiateInputParams extends Component { isOpenMano(props.ro) ? dataCentersHTML( props.dataCenters[props.ro.name], - props.vnfFn.updateSelectedDataCenter.bind(null, v['member-vnf-index'])) + props.vnfFn.updateSelectedDataCenter.bind(null, v['member-vnf-index']), true) : null } { @@ -574,7 +574,7 @@ function constructCloudAccountOptions(cloudAccounts){ }); return CloudAccountOptions; } -function dataCentersHTML(dataCenters, onChange) { +function dataCentersHTML(dataCenters, onChange, initial) { //Build DataCenter options //Relook at this, why is it an object? let DataCenterOptions = []; @@ -587,7 +587,7 @@ function dataCentersHTML(dataCenters, onChange) { if (dataCenters && dataCenters.length > 0) { return ( ) }