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

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';