# User-defined theme switcher disappears on admin pages

**URL:** <https://meta.discourse.org/t/user-defined-theme-switcher-disappears-on-admin-pages/98230>\
**Category:** Bug\
**Created:** [September 27, 2018, 5:42pm UTC](https://meta.discourse.org/t/user-defined-theme-switcher-disappears-on-admin-pages/98230 "2018-09-27T17:42:39Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [October 15, 2018, 6:31am UTC](https://meta.discourse.org/t/user-defined-theme-switcher-disappears-on-admin-pages/98230/7 "2018-10-15T06:31:03Z")

</div>

Good catch @robmc , we had some archeological code that is no longer needed and no longer makes sense:

[https://github.com/discourse/discourse/commit/4c8fe13500c5b79bb93366fdfb4003e82f585220](https://github.com/discourse/discourse/commit/4c8fe13500c5b79bb93366fdfb4003e82f585220)

This is now fixed.

---

_[View the full topic](https://meta.discourse.org/t/user-defined-theme-switcher-disappears-on-admin-pages/98230)._
