mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 23:03:23 +00:00
This commit is contained in:
parent
802cf6a4c5
commit
56f882aed6
|
@ -33,7 +33,7 @@ module Admin::ActionLogsHelper
|
||||||
when 'DomainBlock', 'EmailDomainBlock'
|
when 'DomainBlock', 'EmailDomainBlock'
|
||||||
link_to attributes['domain'], "https://#{attributes['domain']}"
|
link_to attributes['domain'], "https://#{attributes['domain']}"
|
||||||
when 'Status'
|
when 'Status'
|
||||||
tmp_status = Status.new(attributes)
|
tmp_status = Status.new(attributes.except('reblogs_count', 'favourites_count'))
|
||||||
if tmp_status.account
|
if tmp_status.account
|
||||||
link_to tmp_status.account&.acct || "##{tmp_status.account_id}", admin_account_path(tmp_status.account_id)
|
link_to tmp_status.account&.acct || "##{tmp_status.account_id}", admin_account_path(tmp_status.account_id)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue