We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc0b070 commit 63aee26Copy full SHA for 63aee26
src/core/pagination.ts
@@ -148,11 +148,7 @@ export class OffsetPagination<Item> extends AbstractPage<Item> {
148
}
149
150
nextPageRequestOptions(): PageRequestOptions | null {
151
- const offset = this.next_offset;
152
- if (!offset) {
153
- return null;
154
- }
155
-
+ const offset = this.next_offset ?? 0;
156
const length = this.getPaginatedItems().length;
157
const currentCount = offset + length;
158
0 commit comments