From 7ce857593a0e618f6f7b4509b80b4f3e989dc389 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 17:37:40 +0900 Subject: [PATCH] wip --- src/web/app/mobile/views/components/posts.vue | 4 +++- src/web/app/mobile/views/components/timeline.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/web/app/mobile/views/components/posts.vue b/src/web/app/mobile/views/components/posts.vue index 01897eafd..48ed01d0a 100644 --- a/src/web/app/mobile/views/components/posts.vue +++ b/src/web/app/mobile/views/components/posts.vue @@ -8,7 +8,9 @@ %fa:angle-down%{{ _posts[i + 1]._datetext }}

- + diff --git a/src/web/app/mobile/views/components/timeline.vue b/src/web/app/mobile/views/components/timeline.vue index 13f597360..2354f8a7a 100644 --- a/src/web/app/mobile/views/components/timeline.vue +++ b/src/web/app/mobile/views/components/timeline.vue @@ -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) {