Add "Any OS version" option to supported OS version in APPM publisher UI

feature/appm-store/pbac
Jayasanka 5 years ago
parent b4d76b893d
commit 90570e1d3c

@ -433,7 +433,14 @@ class NewAppUploadForm extends React.Component {
<Col span={11}> <Col span={11}>
<Select style={{width: "100%"}} <Select style={{width: "100%"}}
placeholder="Upper version" placeholder="Upper version"
defaultActiveFirstOption={true}
onChange={this.handleUpperOsVersionChange}> onChange={this.handleUpperOsVersionChange}>
{(supportedOsVersions.length > 0) &&(
<Option key="any"
value={supportedOsVersions[supportedOsVersions.length-1]["versionName"]}>
Any
</Option>
)}
{supportedOsVersions.map(version => ( {supportedOsVersions.map(version => (
<Option key={version.versionName} <Option key={version.versionName}
value={version.versionName}> value={version.versionName}>

Loading…
Cancel
Save