Skip to content

Node.js based forum software built for the modern web

fix: #7432

Baris Usakli777ca03264e1
diff --git a/public/src/client/categories.js b/public/src/client/categories.js
index 72b1ff2bcb..b19ba2d0cd 100644
--- a/public/src/client/categories.js
+++ b/public/src/client/categories.js
@@ -33,6 +33,9 @@ define('forum/categories', ['components'], function (components) {
if (!numRecentReplies || !parseInt(numRecentReplies, 10)) {
return;
}
+ if (!category.find('[component="topic/teaser"]').length) {
+ return;
+ }
var recentPosts = category.find('[component="category/posts"]');