-
-
Notifications
You must be signed in to change notification settings - Fork 300
Open
Description
Feature
I don't like the decision I made when creating the configuration for the dynamic filters.
Avo.configure do |config|
# Other Avo configurations
end
if defined?(Avo::DynamicFilters)
Avo::DynamicFilters.configure do |config|
config.button_label = "Advanced filters"
config.always_expanded = true
end
endI think we should bring it into one block. We can do something like this.
Avo.configure do |config|
# Other Avo configurations
# Dynamic filters config
config.dynamic_filters.button_label = "Advanced filters"
config.dynamic_filters.always_expanded = true
endAll configuration initializers stay in their respective gems and avo does a safe call to add to them.