Made recommended changes to moderator reports (see #4267)
This commit is contained in:
@@ -1814,6 +1814,6 @@ class Post < ApplicationRecord
|
||||
end
|
||||
|
||||
def viewable_moderation_reports
|
||||
CurrentUser.is_moderator? ? moderation_reports : []
|
||||
CurrentUser.is_moderator? ? moderation_reports.recent : []
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user