Skip to content

Commit bb01c65

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

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
<td><%= display_link(genome) %></td>
1919
<td>
2020
<% @checks[@check].each do |check_type| %>
21-
<% if warn = name.qc_warnings[check_type] %>
22-
<%= render('checks/curator', locals: { warn: warn }) %>
23-
<% end %>
21+
<% warn = name.qc_warnings[check_type] %>
22+
<%= render('checks/curator', locals: { warn: warn }) if warn %>
2423
<% end %>
2524
</td>
2625
<td>

0 commit comments

Comments
 (0)