mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-18 23:39:11 +08:00
Previously, when an admin removed a color palette as user selectable, users who had previously selected it stayed stuck on it instead of reverting to the default. This change makes `user_scheme_id` and `user_dark_scheme_id` only honor a stored palette when it is still user selectable or is the theme's own light/dark scheme, so an unselectable palette falls back to the default while keeping the user's saved preference if it becomes selectable again. --------- Co-authored-by: Osama Sayegh <asooomaasoooma90@gmail.com> |
||
|---|---|---|
| .. | ||
| application_helper_spec.rb | ||
| email_helper_spec.rb | ||
| embed_helper_spec.rb | ||
| redis_snapshot_helper.rb | ||
| topics_helper_spec.rb | ||
| user_notifications_helper_spec.rb | ||