Skip to content

Commit

Permalink
Disable mod action selector if report is escalated
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenAsJade committed Feb 11, 2024
1 parent 8917ef2 commit a4a3a03
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 a4a3a03

Please sign in to comment.