Skip to content

Node.js based forum software built for the modern web

#5717 also don't show category section in subcategory listing

psychobunny9cb5f71e08f4
diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.js
index e1cf620607..ac9281c85f 100644
--- a/public/src/modules/helpers.js
+++ b/public/src/modules/helpers.js
@@ -106,7 +106,7 @@
return html;
}
category.children.forEach(function (child) {
- if (child) {
+ if (child && !child.isSection) {
var link = child.link ? child.link : (relative_path + '/category/' + child.slug);
html += '<a href="' + link + '">' +
'<span class="fa-stack fa-lg">' +