1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 07:27:39 +02:00

Remove posts from the post stream by ID

This commit is contained in:
Toby Zerner
2015-05-02 08:44:42 +09:30
parent 5fad4acd76
commit e9f0ef83b0
2 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ export default class StreamContent extends mixin(Component, evented) {
}
ondelete(post) {
this.props.stream.removePost(post);
this.props.stream.removePost(post.id());
}
/**