Skip to content

Commit 3b86b6f

Browse files
committed
Update _ambiguous_type_genome.html.erb
1 parent b9ad91a commit 3b86b6f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

app/views/registers/curation_genomics/_ambiguous_type_genome.html.erb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
<td><%= display_link(name) %></td>
1818
<td><%= display_link(genome) %></td>
1919
<td>
20-
<%= render(
21-
'checks/curator',
22-
locals: { warn: name.qc_warnings[@check] }
23-
) %>
20+
<% @checks[@check].each do |check_type| %>
21+
<% if warn = name.qc_warnings[check_type] %>
22+
<%= render('checks/curator', locals: { warn: warn }) %>
23+
<% end %>
24+
<% end %>
2425
</td>
2526
<td>
2627
<% name.qc_warnings.checks.each do |warn| %>

0 commit comments

Comments
 (0)