X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FinstantiateInputParams.jsx;h=6561649b97f93cf94687f333a0faefd11ecf7817;hp=d1e295c03d01bcc90714aba719a33398b253af62;hb=ab68734c52fb6d413e8241466c4517bd7af2477f;hpb=f33567a61c924f853194cb041965895558825829 diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx index d1e295c03..6561649b9 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx @@ -105,16 +105,24 @@ export default class InstantiateInputParams extends Component { } inputParametersHTML = (props) => { let inputParameters = props.inputParameters; - return inputParameters && inputParameters.map(function(input, i) { - return ( -
-

Input Parameters

-
- -
-
- ) - }) + const handleChange = (i, event) => props.updateInputParam(i, event.target.value); + let nsInputParamsHTML = []; + inputParameters && inputParameters.map(function(input, i) { + nsInputParamsHTML.push( +
+ +
+ ); + }); + var nsinput = ( +
+

NS Input Parameters

+ { + nsInputParamsHTML + } +
+ ); + return nsinput; } nsPlacementGroupsHTML = (props) => { let nsPlacementGroups = props.nsPlacementGroups; @@ -167,8 +175,8 @@ export default class InstantiateInputParams extends Component { return (
- - + + Remove
)