kopia lustrzana https://github.com/pixelfed/pixelfed
Update profile.vue, fix race condition in infinitescroll
rodzic
6d9c30e791
commit
bf0cbdf4e9
|
@ -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';
|
||||||
|
|
Ładowanie…
Reference in New Issue