Add batch suspend for accounts in admin UI (#17009)
This commit is contained in:
@ -36,6 +36,8 @@ module Admin::ActionLogsHelper
|
||||
|
||||
def log_target_from_history(type, attributes)
|
||||
case type
|
||||
when 'User'
|
||||
attributes['username']
|
||||
when 'CustomEmoji'
|
||||
attributes['shortcode']
|
||||
when 'DomainBlock', 'DomainAllow', 'EmailDomainBlock', 'UnavailableDomain'
|
||||
|
Reference in New Issue
Block a user