lib/avo/base_resource.rb in avo-2.5.2.pre.1 vs lib/avo/base_resource.rb in avo-2.5.2.pre.2
- old
+ new
@@ -134,9 +134,15 @@
fields = fields.reject do |field|
field.custom?
end
end
+ if Avo::App.license.lacks_with_trial(:advanced_fields)
+ fields = fields.reject do |field|
+ field.type == 'tags'
+ end
+ end
+
fields
end
def get_fields(panel: nil, reflection: nil)
fields = get_field_definitions