Bug 44 fixed. 53/353/1
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Mon, 19 Sep 2016 15:46:32 +0000 (11:46 -0400)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Mon, 19 Sep 2016 15:46:32 +0000 (11:46 -0400)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx

index 00397ed..17d5f8d 100644 (file)
@@ -243,7 +243,7 @@ export default class InstantiateInputParams extends Component {
                   let isUnknown = (currentType == 'unknown') || ((currentType != 'vim-network-name') && (currentType != 'ip-profile-ref'));
                   return (
                     <div key={self.props.nsd.id + '-' + i} className="inputControls">
-                        <h4 className="inputControls-title">VLD: {v['short-name']}</h4>
+                        <h4 className="inputControls-title">VLD: {v['short-name'] ? v['short-name'] : v['name']}</h4>
                         <div  className="inputControls-radioGroup">
                           <label className="inputControls-radio" style={{display: ipProfileList ? 'flex' : 'none'}}>
                             <input type="radio" name={'vld-' + i } onChange={self.props.vldFn.updateType(i)} checked={!isVIM && !isUnknown} value='ip-profile-ref' />