fix for loading spinner
This commit is contained in:
parent
ed9365942a
commit
a817df3d06
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
if(!response.data.results[app.collectionList.response.groups]) {
|
||||||
|
this.loading = false
|
||||||
|
return
|
||||||
|
}
|
||||||
if (response.data.results[app.collectionList.response.groups].next) {
|
if (response.data.results[app.collectionList.response.groups].next) {
|
||||||
this.data.data = this.data.data.concat(response.data.results[app.collectionList.response.groups].data);
|
this.data.data = this.data.data.concat(response.data.results[app.collectionList.response.groups].data);
|
||||||
this.data.next = response.data.results[app.collectionList.response.groups].next;
|
this.data.next = response.data.results[app.collectionList.response.groups].next;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue