mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 13:27:31 -07:00
[Client] Fix #736
This commit is contained in:
parent
50420b2546
commit
8ad39c0d2d
2 changed files with 8 additions and 1 deletions
|
@ -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