web: Components: Changed collection to detect hasNextPage
This commit is contained in:
parent
89a87d01ec
commit
33f169e891
@ -111,7 +111,7 @@ class ADSelectorExample extends React.Component {
|
||||
);
|
||||
|
||||
this.setState({
|
||||
hasNextPage: newOptions.length < this.props.total,
|
||||
hasNextPage: options.length < this.props.total,
|
||||
isNextPageLoading: false,
|
||||
options: newOptions
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user