Hide the progress badge with incorrect value

This commit is contained in:
Alex Ling 2020-06-17 16:16:35 +00:00
parent 00fcc881ee
commit 0e4d67cf29

View File

@ -28,7 +28,9 @@
</div>
<div class="uk-card-body">
<% unless progress < 0 || progress > 100 %>
<div class="uk-card-badge uk-label"><%= (progress * 100).round(1) %>%</div>
<% end %>
<h3 class="uk-card-title break-word" data-title="<%= item.display_name.gsub("\"", "&quot;") %>"><%= item.display_name %></h3>
<% if item.is_a? Entry %>