From: KIRAN KASHALKAR Date: Mon, 19 Sep 2016 16:08:04 +0000 (+0200) Subject: Merge "Bug 44 fixed." X-Git-Tag: v1.0.0~11 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=d1f2a7f4631cca78b7dfc744aae1beb3123c5698;hp=-c;p=osm%2FUI.git Merge "Bug 44 fixed." --- d1f2a7f4631cca78b7dfc744aae1beb3123c5698 diff --combined skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx index 5f1cc8a7d,17d5f8ddc..4db4a63bd --- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx @@@ -1,6 -1,6 +1,6 @@@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@@ -33,20 -33,11 +33,20 @@@ export default class InstantiateInputPa
- { - isOpenMano(props.selectedCloudAccount) ? this.dataCentersHTML(props.dataCenters[selectedCloudAccount.name], props.nsFn.updateSelectedDataCenter) : null + !isOpenMano(props.ro) ? + ( + + ) + : null + } + { + isOpenMano(props.ro) ? + dataCentersHTML(props.dataCenters[props.ro.name], + props.nsFn.updateSelectedDataCenter) + : null }
@@@ -69,21 -60,11 +69,21 @@@ return (

VNFD: {v.name}

- + { + !isOpenMano(props.ro) ? + ( + + ) + : null + } { - isOpenMano(defaultValue) ? dataCentersHTML(dataCenters[defaultValue.account.name], props.vnfFn.updateSelectedDataCenter(v['member-vnf-index'])) : null + isOpenMano(props.ro) ? + dataCentersHTML( + props.dataCenters[props.ro.name], + props.vnfFn.updateSelectedDataCenter.bind(null, v['member-vnf-index'])) + : null } { (props.configAgentAccounts && props.configAgentAccounts.length > 0) ? @@@ -262,7 -243,7 +262,7 @@@ let isUnknown = (currentType == 'unknown') || ((currentType != 'vim-network-name') && (currentType != 'ip-profile-ref')); return (
-

VLD: {v['short-name']}

+

VLD: {v['short-name'] ? v['short-name'] : v['name']}