[Client] Fix #736
This commit is contained in:
parent
3b77bc8299
commit
e2be59f56c
2 changed files with 8 additions and 1 deletions
|
@ -23,6 +23,12 @@
|
|||
});
|
||||
});
|
||||
|
||||
this.fetch = () => {
|
||||
this.api('posts/timeline').then(posts => {
|
||||
this.refs.timeline.setPosts(posts);
|
||||
});
|
||||
};
|
||||
|
||||
this.on('mount', () => {
|
||||
this.stream.on('post', this.onStreamPost);
|
||||
this.stream.on('follow', this.onStreamFollow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue