Skip to content

Commit

Permalink
Merge pull request #485 from IU-Libraries-Joint-Development/hotfix_pr…
Browse files Browse the repository at this point in the history
…esenter_missing_property

Fix ruby error for presenter missing a render method
  • Loading branch information
dlpierce authored Oct 28, 2022
2 parents 58e3199 + c351e9a commit ebcbd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_attribute_row.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%# @todo internationalisation %>
<% if presenter.send(prop_key).blank? %>
<% if presenter.try(prop_key).blank? %>
<%# no display %>
<% elsif prop_value[:admin_only] && !presenter.current_ability.current_user.admin? %>
<%# no display %>
Expand Down

0 comments on commit ebcbd7e

Please sign in to comment.