mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #7432
This commit is contained in:
@@ -33,6 +33,9 @@ define('forum/categories', ['components'], function (components) {
|
|||||||
if (!numRecentReplies || !parseInt(numRecentReplies, 10)) {
|
if (!numRecentReplies || !parseInt(numRecentReplies, 10)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!category.find('[component="topic/teaser"]').length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var recentPosts = category.find('[component="category/posts"]');
|
var recentPosts = category.find('[component="category/posts"]');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user