1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-30 10:52:18 +00:00

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) { infiniteTimeline($state) {
if(this.loading) { if(this.loading || this.timeline < 9) {
return; return;
} }
let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses'; let apiUrl = '/api/v1/accounts/' + this.profileId + '/statuses';