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) => {
|
||||
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…
Reference in New Issue
Block a user