Skip to content

Commit

Permalink
Merge pull request #2578 from GreenAsJade/no_cm_voting_on_escalated_r…
Browse files Browse the repository at this point in the history
…eports

Disable mod action selector if report is escalated
  • Loading branch information
anoek authored Feb 12, 2024
2 parents ae0f0a7 + a4a3a03 commit b3eab58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ReportsCenter/ViewReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ export function ViewReport({ report_id, reports, onChange }: ViewReportProps): J
void report_manager.vote(report.id, action, note);
next();
}}
enable={report.state === "pending"}
enable={report.state === "pending" && !report.escalated}
// clear the selection for subsequent reports
key={report.id}
/>
Expand Down

0 comments on commit b3eab58

Please sign in to comment.