[Client] Fix #736

This commit is contained in:
syuilo 2017-08-28 09:45:26 +09:00
parent 3b77bc8299
commit e2be59f56c
2 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,8 @@ ChangeLog
unreleased unreleased
---------- ----------
* 投稿ページに次の投稿/前の投稿リンクを作成 (#734) * Improvement: 投稿ページに次の投稿/前の投稿リンクを作成 (#734)
* Fix: モバイル版でおすすめユーザーをフォローしてもタイムラインが更新されない (#736)
2380 2380
---- ----

View File

@ -23,6 +23,12 @@
}); });
}); });
this.fetch = () => {
this.api('posts/timeline').then(posts => {
this.refs.timeline.setPosts(posts);
});
};
this.on('mount', () => { this.on('mount', () => {
this.stream.on('post', this.onStreamPost); this.stream.on('post', this.onStreamPost);
this.stream.on('follow', this.onStreamFollow); this.stream.on('follow', this.onStreamFollow);