mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix the os version issue of the APPM publisher
This commit is contained in:
parent
d19d9f20c4
commit
820f94815f
@ -221,7 +221,7 @@ class NewAppUploadForm extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
handleLowerOsVersionChange = (lowerOsVersion) => {
|
handleLowerOsVersionChange = (lowerOsVersion) => {
|
||||||
this.lowerOsVersion = lowerOsVersion;
|
this.lowerOsVersion = parseFloat(lowerOsVersion);
|
||||||
this.setState({
|
this.setState({
|
||||||
osVersionsValidateStatus: 'validating',
|
osVersionsValidateStatus: 'validating',
|
||||||
osVersionsHelperText: ''
|
osVersionsHelperText: ''
|
||||||
@ -229,7 +229,7 @@ class NewAppUploadForm extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
handleUpperOsVersionChange = (upperOsVersion) => {
|
handleUpperOsVersionChange = (upperOsVersion) => {
|
||||||
this.upperOsVersion = upperOsVersion;
|
this.upperOsVersion = parseFloat(upperOsVersion);
|
||||||
this.setState({
|
this.setState({
|
||||||
osVersionsValidateStatus: 'validating',
|
osVersionsValidateStatus: 'validating',
|
||||||
osVersionsHelperText: ''
|
osVersionsHelperText: ''
|
||||||
@ -479,6 +479,7 @@ class NewAppUploadForm extends React.Component {
|
|||||||
required: true,
|
required: true,
|
||||||
message: 'Please select'
|
message: 'Please select'
|
||||||
}],
|
}],
|
||||||
|
initialValue: false
|
||||||
})(
|
})(
|
||||||
<Switch checkedChildren={<Icon type="check"/>}
|
<Switch checkedChildren={<Icon type="check"/>}
|
||||||
unCheckedChildren={<Icon type="close"/>}
|
unCheckedChildren={<Icon type="close"/>}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user