Skip to content

Commit

Permalink
chore: Remove blank funding entries in repository view
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Sep 9, 2024
1 parent 284d8a4 commit b23acd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/projects/_repository.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
Funding:
<ul>
<% @project.repository['metadata']['funding'].each do |k,v| %>
<% next if v.blank? %>
<li>
<%= k.humanize %>: <%= Array(v).join(', ') %>
</li>
Expand Down

0 comments on commit b23acd7

Please sign in to comment.