mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update Timeline.vue component, fix infinite pagination bug
This commit is contained in:
parent
353f14acfa
commit
130ef34a41
1 changed files with 4 additions and 1 deletions
|
@ -229,7 +229,7 @@
|
|||
<div class="card-body">
|
||||
<infinite-loading @infinite="infiniteTimeline" :distance="800">
|
||||
<div slot="no-more" class="font-weight-bold">No more posts to load</div>
|
||||
<div slot="no-results" class="font-weight-bold">No posts found</div>
|
||||
<div slot="no-results" class="font-weight-bold">No more posts to load</div>
|
||||
</infinite-loading>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -725,6 +725,9 @@
|
|||
} else {
|
||||
$state.complete();
|
||||
}
|
||||
}).catch(err => {
|
||||
this.loading = false;
|
||||
$state.complete();
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue