We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7904688 + 070be03 commit dfeba47Copy full SHA for dfeba47
1 file changed
app/components/app_import_summary_component.html.erb
@@ -48,13 +48,13 @@
48
<% end %>
49
50
51
- <% if import.records_count && import.records_count.positive? %>
+ <% if import.records_count && import.status == "processed" %>
52
<% if import.is_a?(ImmunisationImport) && import.type == "national_reporting" %>
53
<%= summary_list.with_row do |row| %>
54
<%= row.with_key { "Import summary" } %>
55
<%= row.with_value { render AppImportStatisticsComponent.new(import: import) } %>
56
57
- <% else %>
+ <% elsif import.records_count.positive? %>
58
59
<%= row.with_key { "Records" } %>
60
<%= row.with_value { import.records_count.to_s } %>
0 commit comments