mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
#5717 also don't show category section in subcategory listing
This commit is contained in:
@@ -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">' +
|
||||
|
||||
Reference in New Issue
Block a user