From 92cf3d6ff7b651dff2ea4935767a8b41bcc677fa Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Wed, 28 Sep 2016 22:11:09 -0400 Subject: [PATCH] Bug 64 Signed-off-by: Laurence Maultsby --- .../launchpad/src/instantiate/instantiateInputParams.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx index ec40ccfc1..dc40ed6f9 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx @@ -305,8 +305,14 @@ export default class InstantiateInputParams extends Component { ); } ipProfilesHTML = (props) => { + let vldHasIPprofile = false; + props.vlds && props.vlds.map(function(v){ + if(v.type == 'ip-profile-ref') { + vldHasIPprofile = true; + } + }) let ipProfileList = props.ipProfileList; - return ipProfileList && + return ipProfileList && vldHasIPprofile && (

IP Profiles

-- 2.25.1