[Client] Fix #736

This commit is contained in:
syuilo 2017-08-28 09:45:26 +09:00
parent 50420b2546
commit 8ad39c0d2d
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);