Skip to content
Snippets Groups Projects
Commit 075cd0d2 authored by Gyan Gupta's avatar Gyan Gupta
Browse files

fix featured field error

parent ce5f3cff
No related tags found
1 merge request!329Fix featured field error
Pipeline #16377 passed
......@@ -9,7 +9,7 @@
</div>
<% if current_user %>
<div class="featured-field featured-item-depositor">
<span class="featured-label"><%= t('hyrax.homepage.featured_works.document.depositor_label') %>:</span> <%= link_to_profile featured.proxy_depositor&.first || featured.depositor(t('hyrax.homepage.featured_works.document.depositor_missing')) %>
<span class="featured-label"><%= t('hyrax.homepage.featured_works.document.depositor_label') %>:</span> <%= link_to_profile featured.solr_document.proxy_depositor&.first || featured.depositor(t('hyrax.homepage.featured_works.document.depositor_missing')) %>
</div>
<% end %>
<div class="featured-field featured-item-keywords">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment