]> cat aescling's git repositories - mastodon.git/commitdiff
Fix tag usage display on admin dashboard
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 16 Jul 2018 17:51:16 +0000 (19:51 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Jul 2018 17:51:16 +0000 (19:51 +0200)
app/views/admin/dashboard/index.html.haml

index 41a0ee5a1d09269a4a2b07aa08cafe556253600a..1996eef4d23ac436f43080797f70b3314435f131 100644 (file)
         - @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)