mirror of
https://github.com/discourse/discourse.git
synced 2026-08-11 13:35:20 -05:00
FIX: hide category column in topic list only when the current category has no children
This commit is contained in:
@@ -17,7 +17,8 @@ class BasicCategorySerializer < ApplicationSerializer
|
||||
:logo_url,
|
||||
:background_url,
|
||||
:can_edit,
|
||||
:topic_template
|
||||
:topic_template,
|
||||
:has_children
|
||||
|
||||
def include_parent_category_id?
|
||||
parent_category_id
|
||||
|
||||
Reference in New Issue
Block a user