mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix app offset issue in APPM Store UI
This commit is contained in:
parent
01de8aa665
commit
8ed7c15bdd
@ -344,7 +344,7 @@ class NewAppDetailsForm extends React.Component {
|
||||
banner
|
||||
closable/>
|
||||
)}
|
||||
<Form.Item {...formItemLayout} label="Unrestricted Roles">
|
||||
<Form.Item {...formItemLayout} label="Visible Roles">
|
||||
{getFieldDecorator('unrestrictedRoles', {
|
||||
rules: [],
|
||||
initialValue: []
|
||||
|
||||
@ -57,7 +57,12 @@ class AppList extends React.Component {
|
||||
if (prevProps.deviceType !== this.props.deviceType) {
|
||||
const {deviceType} = this.props;
|
||||
this.props.changeSelectedMenuItem(deviceType);
|
||||
this.fetchData(deviceType);
|
||||
this.fetchData(0, limit, res => {
|
||||
this.setState({
|
||||
apps: res,
|
||||
loading: false
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user