Fix error in admin UI for hashtag usage breakdown (#11743)

This commit is contained in:
Eugen Rochko 2019-09-03 07:59:52 +02:00 committed by GitHub
parent d19d86fe2b
commit ec1dd865fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@
.table-wrapper .table-wrapper
%table.table %table.table
%tbody %tbody
- total = @usage_by_domain.sum(&:statuses_count).to_f - total = @usage_by_domain.sum(&:last).to_f
- @usage_by_domain.each do |(domain, count)| - @usage_by_domain.each do |(domain, count)|
%tr %tr