Skip to content

Commit b339fbd

Browse files
fbacallCopilot
andauthored
Fix condition not being checked
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 517a799 commit b339fbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/helpers/users_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def orcid_link(profile, *opts)
1111
concat image_tag('ORCID-iD_icon_vector.svg', size: 16)
1212
concat ' '
1313
concat external_link(profile.orcid, profile.orcid_url, *opts)
14-
else profile.orcid.present?
14+
elsif profile.orcid.present?
1515
concat image_tag('ORCID-iD_icon_unauth_vector.svg', size: 16)
1616
concat ' '
1717
concat external_link(profile.orcid, profile.orcid_url, *opts)

0 commit comments

Comments
 (0)