Skip to content

Commit

Permalink
Fix N+1 on dashboard batches index page
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Jul 19, 2024
1 parent 17d3369 commit 52fada8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/good_job/batches/_table.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</div>
<div class="col-6 col-lg-1">
<div class="d-lg-none small text-muted mt-1"><%= t "good_job.models.batch.jobs" %></div>
<%= batch.jobs.count %>
<%= batch.jobs.size %>
</div>
<div class="col text-end">
<%= tag.button type: "button", class: "btn btn-sm text-muted", role: "button",
Expand Down

0 comments on commit 52fada8

Please sign in to comment.