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 98a596f commit 257285fCopy full SHA for 257285f
src/pagination.ts
@@ -48,11 +48,7 @@ export class DatasetsIterrows<Item> extends AbstractPage<Item> implements Datase
48
}
49
50
nextPageInfo(): PageInfo | null {
51
- const offset = this.next_index;
52
- if (!offset) {
53
- return null;
54
- }
55
-
+ const offset = this.next_index ?? 0;
56
const length = this.getPaginatedItems().length;
57
const currentCount = offset + length;
58
0 commit comments