Fix load more behavior

This commit is contained in:
Christopher C. Wells 2021-01-25 07:36:32 -08:00
parent a575622c9c
commit ed1f69c96f
1 changed files with 2 additions and 1 deletions

View File

@ -46,8 +46,9 @@
this.results = [...this.results, ...data.data.map(result => result.attributes)];
if (this.number < data.meta.page['last-page']) {
this.morePages = true;
} else {
this.number++;
} else {
this.morePages = false;
}
});
},