# Disabled Uncategorized category is shown in mobile browsers when unlogged

**URL:** <https://meta.discourse.org/t/disabled-uncategorized-category-is-shown-in-mobile-browsers-when-unlogged/81181>\
**Category:** Product Support\
**Created:** [February 21, 2018, 9:16pm UTC](https://meta.discourse.org/t/disabled-uncategorized-category-is-shown-in-mobile-browsers-when-unlogged/81181 "2018-02-21T21:16:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [February 27, 2018, 4:59pm UTC](https://meta.discourse.org/t/disabled-uncategorized-category-is-shown-in-mobile-browsers-when-unlogged/81181/6 "2018-02-27T16:59:17Z")

</div>

I spent some time debugging this… and it was way more fiddly than expected.

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/discovery-categories.js.es6#L16](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/discovery-categories.js.es6#L16)

This line will be different from mobile and desktop, resulting in a `false` on mobile as is very rightly showing the name of the setting: “ **DESKTOP** category page style”.

In the end this code is never using any Uncategorized related site setting. But this difference in style will in one case trigger this or not: [discourse/app/models/category\_list.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/models/category_list.rb#L19)  
Which will then make `displayable_topics` blank in one case and not the other [discourse/app/models/category\_list.rb at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/app/models/category_list.rb#L136)  
Resulting some category being deleted on desktop and not on mobile.

So we could add some knowledge of `allow uncategorized topics` but the name seems misleading (is there another setting to use for this?) and then I don’t think we want to spend so much time on this as it’s kind of an edge case and not so bad, and still making us spend more time on “Uncategorized”.

@sam Maybe we could make it pr-welcome?

---

_[View the full topic](https://meta.discourse.org/t/disabled-uncategorized-category-is-shown-in-mobile-browsers-when-unlogged/81181)._
