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 a77a7c3 commit cdee27fCopy full SHA for cdee27f
app/views/funds/show.html.erb
@@ -173,9 +173,7 @@
173
</tr>
174
</thead>
175
<tbody>
176
- <% @project_allocations.each_with_index do |project_allocation, i| %>
177
- <% next if project_allocation.project_url.nil? %>
178
- <% next if @allocation.completed? && !project_allocation.success? %>
+ <% @project_allocations.reject{|pa| pa.project_url.nil? || @allocation.completed? && !pa.success? }.each_with_index do |project_allocation, i| %>
179
180
<!-- Main Row -->
181
<tr class="clickable-row <%= 'row-rejected' if project_allocation.project_funding_rejected %>" data-bs-toggle="collapse" data-bs-target="#details-<%= i %>" role="button" aria-controls="#details-<%= i %>">
0 commit comments