mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 04:25:06 +01:00
Fix warning an account outside of a report closing all reports for that account (#18387)
* Fix warning an account outside of a report closing all reports for that account
* Make it clear what actions solve other reports
* Revert "Make it clear what actions solve other reports"
This reverts commit ad006de821
.
This commit is contained in:
parent
a9b64b24d6
commit
e5997a1956
@ -164,8 +164,8 @@ class Admin::AccountAction
|
|||||||
|
|
||||||
def reports
|
def reports
|
||||||
@reports ||= begin
|
@reports ||= begin
|
||||||
if type == 'none' && with_report?
|
if type == 'none'
|
||||||
[report]
|
with_report? ? [report] : []
|
||||||
else
|
else
|
||||||
Report.where(target_account: target_account).unresolved
|
Report.where(target_account: target_account).unresolved
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user