[Client] Fix #736
This commit is contained in:
parent
3b77bc8299
commit
e2be59f56c
|
@ -4,7 +4,8 @@ ChangeLog
|
||||||
|
|
||||||
unreleased
|
unreleased
|
||||||
----------
|
----------
|
||||||
* 投稿ページに次の投稿/前の投稿リンクを作成 (#734)
|
* Improvement: 投稿ページに次の投稿/前の投稿リンクを作成 (#734)
|
||||||
|
* Fix: モバイル版でおすすめユーザーをフォローしてもタイムラインが更新されない (#736)
|
||||||
|
|
||||||
2380
|
2380
|
||||||
----
|
----
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue