mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
When `allow_uncategorized_topics` is set to `false`, we do not want to show the uncategorized in sidebar by default. This commit updates a couple of places in the code related to sidebar which was incorrectly using `suppress_uncategorized_badge` site setting which is mainly used for hiding the category badge for uncategorized category and should not be used to determine if uncategorized categories should be allowed or not.