Fix app offset issue in APPM Store UI

feature/appm-store/pbac
Jayasanka 5 years ago
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…
Cancel
Save