Show timestamp when the user deletes their account on admin dashboard (#25640)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Jeong ArmandClaire authored and GitHub committed 2024-10-01 13:54:28 +00:00
1 parent df98cf71e3
commit 65508bb0c0
1 file changed
+2
+2
View File
@@ -30,6 +30,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