lib/avo/base_resource.rb in avo-1.7.1 vs lib/avo/base_resource.rb in avo-1.7.2

- old
+ new

@@ -76,10 +76,10 @@ fields = self.class.fields.map do |field| field.hydrate(resource: self, panel_name: default_panel_name, user: user) end - if Avo::App.license.has_with_trial(:custom_fields) + if Avo::App.license.lacks_with_trial(:custom_fields) fields = fields.reject do |field| field.custom? end end