Fix the os version issue of the APPM publisher

merge-requests/312/head
nipun 5 years ago
parent d19d9f20c4
commit 820f94815f

@ -221,7 +221,7 @@ class NewAppUploadForm extends React.Component {
};
handleLowerOsVersionChange = (lowerOsVersion) => {
this.lowerOsVersion = lowerOsVersion;
this.lowerOsVersion = parseFloat(lowerOsVersion);
this.setState({
osVersionsValidateStatus: 'validating',
osVersionsHelperText: ''
@ -229,7 +229,7 @@ class NewAppUploadForm extends React.Component {
};
handleUpperOsVersionChange = (upperOsVersion) => {
this.upperOsVersion = upperOsVersion;
this.upperOsVersion = parseFloat(upperOsVersion);
this.setState({
osVersionsValidateStatus: 'validating',
osVersionsHelperText: ''
@ -479,6 +479,7 @@ class NewAppUploadForm extends React.Component {
required: true,
message: 'Please select'
}],
initialValue: false
})(
<Switch checkedChildren={<Icon type="check"/>}
unCheckedChildren={<Icon type="close"/>}

Loading…
Cancel
Save