1
0
Fork 0

Don't require serializer for custom field

Dieser Commit ist enthalten in:
Angus McLeod 2020-10-20 17:40:10 +11:00
Ursprung 0094be8352
Commit cf8b06bbd0

Datei anzeigen

@ -53,7 +53,7 @@ class ::CustomWizard::CustomField
add_error("Unsupported class: #{value}") add_error("Unsupported class: #{value}")
end end
if attr == 'serializers' && (SERIALIZERS & value).empty? if attr == 'serializers' && value.present? && (SERIALIZERS & value).empty?
add_error("Unsupported serializer: #{value}") add_error("Unsupported serializer: #{value}")
end end