Use accurate sub count when available

This commit is contained in:
Omar Roth 2019-08-21 18:35:54 -05:00
parent 9f9cc1ffb5
commit 4c9975a7d9
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@
<div class="h-box">
<% ucid = channel.ucid %>
<% author = channel.author %>
<% sub_count_text = number_to_short_text(channel.sub_count) %>
<% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %>
</div>

View file

@ -33,7 +33,7 @@
<div class="h-box">
<% ucid = channel.ucid %>
<% author = channel.author %>
<% sub_count_text = number_to_short_text(channel.sub_count) %>
<% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %>
</div>

View file

@ -33,7 +33,7 @@
<div class="h-box">
<% ucid = channel.ucid %>
<% author = channel.author %>
<% sub_count_text = number_to_short_text(channel.sub_count) %>
<% sub_count_text = channel.sub_count.format %>
<%= rendered "components/subscribe_widget" %>
</div>