mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:46:08 +08:00

That bug was mentioned in [meta](https://meta.discourse.org/t/muting-categories-hides-them-muting-subcategories-should-too/131316) Problem is that subcategories are always visible in `/categories` path even if muted. Categories/subcategories are loaded in at least two places https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/models/site.js.es6#L146 https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/discovery-categories.js.es6#L46 I discussed that with @jjaffeux and we thought that maybe it would be a good idea to filter that on frontend level