X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=inline;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FinstantiateInputParams.jsx;h=5ffb4bc67e5a6e15643a8666ebf7559056533dea;hb=c9b7d551eb933c7b62f27d5e29ad4fe92144a4ec;hp=c9c0f2c8b1327c60ec6d3ea6fc516b9b40482203;hpb=d0c810e852f84807c7588f424648bca6059edc5c;p=osm%2FUI.git
diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx
index c9c0f2c8b..5ffb4bc67 100644
--- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx
+++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx
@@ -105,12 +105,13 @@ export default class InstantiateInputParams extends Component {
}
inputParametersHTML = (props) => {
let inputParameters = props.inputParameters;
+ const handleChange = (i, event) => props.updateInputParam(i, event.target.value);
return inputParameters && inputParameters.map(function(input, i) {
return (
)
@@ -167,8 +168,8 @@ export default class InstantiateInputParams extends Component {
return (
-
-
+
+
Remove
)
@@ -259,10 +260,11 @@ export default class InstantiateInputParams extends Component {
{vlds && vlds.map(function(v, i) {
let currentType = v.type;
let isVIM = (currentType == 'vim-network-name');
- let isUnknown = (currentType == 'unknown') || ((currentType != 'vim-network-name') && (currentType != 'ip-profile-ref'));
+ let isUnknown = (currentType == 'none') || ((currentType != 'vim-network-name') && (currentType != 'ip-profile-ref'));
return (
VLD: {v['short-name'] ? v['short-name'] : v['name']}
+
{
@@ -354,6 +356,11 @@ export default class InstantiateInputParams extends Component {
onChange={props.ipProfileFn.updateProfile(j, 'security-group')}
value={ipl['security-group']}
/>
+