Show exact number of followers/statuses on export page/in tooltip (#8199)
* Show exact number of followers/statuses on export page/in tooltip * Fix tests
This commit is contained in:
parent
ec2c516ab8
commit
aaac14b8ad
6 changed files with 36 additions and 17 deletions
|
@ -24,8 +24,16 @@ class Export
|
|||
account.media_attachments.sum(:file_file_size)
|
||||
end
|
||||
|
||||
def total_statuses
|
||||
account.statuses_count
|
||||
end
|
||||
|
||||
def total_follows
|
||||
account.following.count
|
||||
account.following_count
|
||||
end
|
||||
|
||||
def total_followers
|
||||
account.followers_count
|
||||
end
|
||||
|
||||
def total_blocks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue