Update Profile.vue component, fix pagination bug

pull/2147/head
Daniel Supernault
parent ed09e54158
commit 46767810a4
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -760,8 +760,13 @@
self.ids.push(d.id);
}
});
let max = Math.min(...this.ids);
if(max == this.max_id) {
$state.complete();
return;
}
this.min_id = Math.max(...this.ids);
this.max_id = Math.min(...this.ids);
this.max_id = max;
$state.loaded();
this.loading = false;
} else {

Loading…
Cancel
Save