diff --git a/extensions/mentions/js/forum/src/addPostMentionPreviews.js b/extensions/mentions/js/forum/src/addPostMentionPreviews.js index 2177cbc55..2352c70e3 100644 --- a/extensions/mentions/js/forum/src/addPostMentionPreviews.js +++ b/extensions/mentions/js/forum/src/addPostMentionPreviews.js @@ -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());