Skip to content

Commit

Permalink
Fix N+1 on dashboard batches index page (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Jul 19, 2024
1 parent f464ff9 commit fbd216f
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 fbd216f

Please sign in to comment.