Skip to content

Commit

Permalink
Merge pull request #2967 from GreenAsJade/support_ai_assessor_seeing_…
Browse files Browse the repository at this point in the history
…escalated_reports

Disable vote button if its an escalated AI report
  • Loading branch information
anoek authored Feb 22, 2025
2 parents 2c32210 + 1e1ae95 commit be57be8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/ReportsCenter/ViewReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,8 @@ export function ViewReport({ report_id, reports, onChange }: ViewReportProps): R
enable={
report.state === "pending" &&
(!report.escalated ||
!!(user.moderator_powers & MODERATOR_POWERS.SUSPEND))
(!!(user.moderator_powers & MODERATOR_POWERS.SUSPEND) &&
report.report_type !== "ai_use"))
}
key={report.id}
report={report}
Expand Down

0 comments on commit be57be8

Please sign in to comment.