1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-28 06:48:45 +09:00

Fix tag usage display on admin dashboard

This commit is contained in:
Eugen Rochko 2018-07-16 19:51:16 +02:00 committed by GitHub
parent 0d13e30ad2
commit 8241f162df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,4 +146,4 @@
- @trending_hashtags.each do |tag|
%li
= link_to "##{tag.name}", web_url("timelines/tag/#{tag.name}")
%span.pull-right= number_with_delimiter(tag.history[0]['accounts'].to_i)
%span.pull-right= number_with_delimiter(tag.history[0][:accounts].to_i)