1
0
Fork 0

Update profile.vue, fix race condition in infinitescroll

This commit is contained in:
Daniel Supernault 2019-04-22 13:40:09 -06:00
parent 6d9c30e791
commit bf0cbdf4e9
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ export default {
},
infiniteTimeline($state) {
if(this.loading) {
if(this.loading || this.timeline < 9) {
return;
}
let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses';