This commit is contained in:
syuilo 2018-02-22 17:37:40 +09:00
parent ef679409b4
commit 1414a43d9b
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,9 @@
<span>%fa:angle-down%{{ _posts[i + 1]._datetext }}</span>
</p>
</template>
<footer>
<slot name="tail"></slot>
</footer>
</div>
</template>

View file

@ -74,8 +74,8 @@ export default Vue.extend({
(this as any).api('posts/timeline', {
until_id: this.posts[this.posts.length - 1].id
}).then(posts => {
this.posts = this.posts.concat(posts);
this.moreFetching = false;
this.posts.unshift(posts);
});
},
onPost(post) {