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:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user