mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
FEATURE: introduces list/compact_list components
This commit is contained in:
@ -33,6 +33,11 @@ class ThemeSettingsParser
|
||||
opts[:max] = raw_opts[:max].is_a?(Numeric) ? raw_opts[:max] : Float::INFINITY
|
||||
opts[:min] = raw_opts[:min].is_a?(Numeric) ? raw_opts[:min] : -Float::INFINITY
|
||||
end
|
||||
|
||||
if raw_opts[:list_type]
|
||||
opts[:list_type] = raw_opts[:list_type]
|
||||
end
|
||||
|
||||
opts
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user