1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Show timestamp when user deletes their account on admin dashboard

This commit is contained in:
Jeong Arm 2023-06-30 00:54:09 +09:00
parent a209d1e683
commit 580699227c

View file

@ -25,6 +25,8 @@ module Admin::DashboardHelper
[account.user_current_sign_in_at, false]
elsif account.user_pending?
[account.user_created_at, true]
elsif account.suspended_at.present? && account.local? && account.user.nil?
[account.suspended_at, true]
elsif account.last_status_at.present?
[account.last_status_at, true]
else