fix issue #193
This commit is contained in:
parent
aa21cea13b
commit
ce24270948
@ -210,7 +210,7 @@ module Locomotive
|
|||||||
end
|
end
|
||||||
|
|
||||||
def set_highlighted_field_name(content_type)
|
def set_highlighted_field_name(content_type)
|
||||||
field = content_type.content_custom_fields.detect { |f| f._alias == content_type.highlighted_field_name }
|
field = content_type.content_custom_fields.detect { |f| f._alias == content_type.highlighted_field_name.to_s }
|
||||||
|
|
||||||
content_type.highlighted_field_name = field._name if field
|
content_type.highlighted_field_name = field._name if field
|
||||||
end
|
end
|
||||||
|
BIN
spec/fixtures/themes/default.zip
vendored
BIN
spec/fixtures/themes/default.zip
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user