1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +02:00

Reload post if we don't know about its discussion

This commit is contained in:
Toby Zerner
2015-08-08 09:26:05 +09:30
parent 19ed23e89b
commit 1419f9d215

View File

@@ -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());