Pass offset to pagination
This commit is contained in:
@ -37,7 +37,11 @@ class PaginatedDocumentList extends React.Component<Props> {
|
|||||||
this.isFetching = true;
|
this.isFetching = true;
|
||||||
|
|
||||||
const limit = DEFAULT_PAGINATION_LIMIT;
|
const limit = DEFAULT_PAGINATION_LIMIT;
|
||||||
const results = await this.props.fetch({ limit, ...this.props.options });
|
const results = await this.props.fetch({
|
||||||
|
limit,
|
||||||
|
offset: this.offset,
|
||||||
|
...this.props.options,
|
||||||
|
});
|
||||||
|
|
||||||
if (
|
if (
|
||||||
results &&
|
results &&
|
||||||
|
Reference in New Issue
Block a user