Fix wrong offset value in app view of APPM Store UI

feature/appm-store/pbac
Jayasanka 5 years ago
parent 6cb15c7e7f
commit 5139415995

@ -60,7 +60,8 @@ class AppList extends React.Component {
this.fetchData(0, limit, res => { this.fetchData(0, limit, res => {
this.setState({ this.setState({
apps: res, apps: res,
loading: false loading: false,
hasMore: true
}); });
}); });
} }
@ -139,6 +140,7 @@ class AppList extends React.Component {
return ( return (
<div> <div>
<InfiniteScroll <InfiniteScroll
key={this.props.deviceType}
initialLoad={false} initialLoad={false}
pageStart={0} pageStart={0}
loadMore={this.handleInfiniteOnLoad} loadMore={this.handleInfiniteOnLoad}

Loading…
Cancel
Save