Add previous page to kind listings

This commit is contained in:
Sam Carlton 2022-06-03 17:48:14 -05:00
parent 200b6f265b
commit de93e1282c
2 changed files with 7 additions and 0 deletions

View file

@ -52,6 +52,7 @@ export class PaginatedList {
return {
number: pageNumber,
items,
hasPreviousPage: this.hasPage( pageNumber - 1 ),
hasNextPage: this.hasPage( pageNumber + 1 ),
get json() {
return JSON.stringify( items )