bugfix: pagination works again
This commit is contained in:
parent
e8de33cdcb
commit
9a6260d1bd
@ -9,7 +9,7 @@ export async function fetchQuery(fetchString, clearResults) {
|
||||
const data = await response.json();
|
||||
|
||||
parseContent(data.content, clearResults);
|
||||
lastQuery.totalPages = data.totalPages;
|
||||
lastQuery.totalPages = data.page.totalPages;
|
||||
if (clearResults) {
|
||||
lastQuery.currentPage = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user