From: Eugen Rochko Date: Tue, 3 Sep 2019 05:59:52 +0000 (+0200) Subject: Fix error in admin UI for hashtag usage breakdown (#11743) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=ec1dd865fb09de2505e24001bdb5f3ac82f34a43;p=mastodon.git Fix error in admin UI for hashtag usage breakdown (#11743) --- diff --git a/app/views/admin/tags/show.html.haml b/app/views/admin/tags/show.html.haml index f9677874a..d54a43c1e 100644 --- a/app/views/admin/tags/show.html.haml +++ b/app/views/admin/tags/show.html.haml @@ -38,7 +38,7 @@ .table-wrapper %table.table %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)| %tr