apiRequest resolves to reponse instead if reponse.data
This commit is contained in:
@@ -68,9 +68,9 @@ export default {
|
||||
search
|
||||
}
|
||||
})
|
||||
.then(rows => {
|
||||
this.hasMore = (rows.length >= limit);
|
||||
this.newRows = rows;
|
||||
.then(response => {
|
||||
this.hasMore = (response.data.length >= limit);
|
||||
this.newRows = response.data;
|
||||
this.loading = false;
|
||||
})
|
||||
.catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user