Skip to content

Commit

Permalink
Merge pull request #2416 from RubyMineshaft/bot_detection
Browse files Browse the repository at this point in the history
Reports center bug fix
  • Loading branch information
anoek authored Nov 8, 2023
2 parents 6b273b7 + f5c6dd1 commit 572b7fc
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 @@ -490,7 +490,7 @@ export function ViewReport({ report_id, reports, onChange }: ViewReportProps): J
</div>

<div className="actions-right">
{reportState !== "resolved" && report.detected_ai_games.length > 0 ? (
{reportState !== "resolved" && report.detected_ai_games?.length > 0 ? (
<button
onClick={() => openAnnulQueueModal(setIsAnnulQueueModalOpen)}
>
Expand Down

0 comments on commit 572b7fc

Please sign in to comment.