mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Update categories without full page refresh (#11793)
Creating or moving a category required a full page refresh until it showed up correctly.
This commit is contained in:
@@ -26,10 +26,6 @@ class CategoryDetailedSerializer < BasicCategorySerializer
|
||||
is_uncategorized
|
||||
end
|
||||
|
||||
def include_subcategory_ids?
|
||||
subcategory_ids.present?
|
||||
end
|
||||
|
||||
def topics_day
|
||||
count_with_subcategories(:topics_day)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user