Use async_count in more view locations (#32086)

This commit is contained in:
Matt Jankowski 2024-10-04 08:29:43 -04:00 committed by Claire
parent 74f9f7c600
commit a089109b77
8 changed files with 8 additions and 4 deletions

View file

@ -6,6 +6,7 @@ class Admin::Disputes::AppealsController < Admin::BaseController
def index
authorize :appeal, :index?
@pending_appeals_count = Appeal.pending.async_count
@appeals = filtered_appeals.page(params[:page])
end