mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:11:40 +08:00
Show posts even if they don't have a user
This commit is contained in:
parent
1f5e5af18a
commit
7aaeea3a17
@ -181,7 +181,7 @@ class PostStream extends mixin(Component, evented) {
|
||||
.map(id => {
|
||||
const post = app.store.getById('posts', id);
|
||||
|
||||
return post && post.discussion() && post.user() !== false && post.canEdit() !== null ? post : null;
|
||||
return post && post.discussion() && post.canEdit() !== null ? post : null;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user