From 9cb5f71e08f482fc054b1db04f431da7c4a686b5 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 29 May 2017 18:04:35 -0400 Subject: [PATCH] #5717 also don't show category section in subcategory listing --- public/src/modules/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 += '' + '' +