8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a3c1f commit 415ffb0Copy full SHA for 415ffb0
lib/active_admin/views/components/scopes.rb
@@ -58,9 +58,9 @@ def current_scope?(scope)
58
59
# Return the count for the scope passed in.
60
def get_scope_count(scope)
61
- chained = scope_chain(scope, collection_before_scope)
+ chained = @async_counts[scope] || scope_chain(scope, collection_before_scope)
62
63
- collection_size(@async_counts[scope] || chained)
+ collection_size(chained)
64
end
65
66
def group_name(group)
0 commit comments