mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add 'all' column to admin dashboard counts
This commit is contained in:
@@ -9,7 +9,6 @@ class AdminDashboardData
|
||||
def as_json
|
||||
@json ||= {
|
||||
reports: REPORTS.map { |type| Report.find(type) },
|
||||
total_users: User.count,
|
||||
problems: [rails_env_check, host_names_check, gc_checks].compact
|
||||
}.merge(
|
||||
SiteSetting.version_checks? ? {version_check: DiscourseUpdates.check_version} : {}
|
||||
|
||||
Reference in New Issue
Block a user