Avoid showing table header when there are no results

This commit is contained in:
Andy Allan 2020-08-19 10:45:57 +02:00
parent 56ed381a7d
commit a2c1fe7930

View file

@ -38,14 +38,10 @@
</div>
</div>
<% end %>
<br />
<% if @issues.length == 0 %>
<p><%= t ".issues_not_found" %></p>
<% end %>
<br />
<% else %>
<table class="table table-sm">
<thead>
<tr>
@ -77,3 +73,4 @@
<% end %>
</tbody>
</table>
<% end %>