We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c16d5e8 commit 3f5ada6Copy full SHA for 3f5ada6
app/views/content/display/_sidelinks.html.erb
@@ -48,7 +48,7 @@
48
next unless category[:fields].any? do |field|
49
(
50
# This is a link field AND it has existing links
51
- field[:field_type] == 'link' && field[:old_column_source].present? && raw_model.send(field[:old_column_source]).any?
+ field[:type] == 'link' && field[:old_column_source].present? && raw_model.send(field[:old_column_source]).any?
52
) || field[:value].present?
53
# or: this is a text field with text in it
54
end
0 commit comments