mirror of
https://github.com/discourse/discourse.git
synced 2025-08-20 18:52:44 +08:00
FEATURE: Allow theme settings to request refresh (#15037)
Similar to site settings, adds support for `refresh` option to theme settings. ```yaml super_feature_enabled: type: bool default: false refresh: true ```
This commit is contained in:
parent
f43c433d50
commit
d91d67a442
5 changed files with 63 additions and 0 deletions
|
@ -43,6 +43,8 @@ class ThemeSettingsParser
|
|||
opts[:textarea] = !!raw_opts[:textarea]
|
||||
opts[:json_schema] = raw_opts[:json_schema]
|
||||
|
||||
opts[:refresh] = !!raw_opts[:refresh]
|
||||
|
||||
opts
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue