Update collection-list.ejs

This commit is contained in:
booploops 2022-01-18 02:48:19 -08:00
parent a817df3d06
commit b8dec35ac7

View file

@ -84,13 +84,14 @@
this.loading = true
this.api.v3.music(this.data.next, app.collectionList.requestBody).then((response) => {
console.log(response)
if (!app.collectionList.response.groups) {
if (response.data.next) {
this.data.data = this.data.data.concat(response.data.data);
this.data.next = response.data.next;
this.triggerEnabled = true;
this.loading = false
}
this.loading = false
}else{
if(!response.data.results[app.collectionList.response.groups]) {
this.loading = false