mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Reload post if we don't know about its discussion
This commit is contained in:
parent
19ed23e89b
commit
1419f9d215
@ -69,7 +69,7 @@ export default function addPostMentionPreviews() {
|
||||
};
|
||||
|
||||
const post = app.store.getById('posts', id);
|
||||
if (post) {
|
||||
if (post && post.discussion()) {
|
||||
showPost(post);
|
||||
} else {
|
||||
m.render($preview[0], LoadingIndicator.component());
|
||||
|
Loading…
x
Reference in New Issue
Block a user