Skip to content

Commit

Permalink
Merge pull request #2971 from GreenAsJade/view_report_teeny_tidy
Browse files Browse the repository at this point in the history
Stop a '0' from appearing when we meant to show nothing…
  • Loading branch information
anoek authored Feb 24, 2025
2 parents 983a574 + 5adf687 commit 4db92d3
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 @@ -594,7 +594,7 @@ export function ViewReport({ report_id, reports, onChange }: ViewReportProps): R

{report.escalated &&
(user.is_moderator ||
user.moderator_powers & MODERATOR_POWERS.SUSPEND) && (
(user.moderator_powers & MODERATOR_POWERS.SUSPEND) !== 0) && (
<div className="notes">
<h4>Escalator's note:</h4>
<div className="Card">
Expand Down

0 comments on commit 4db92d3

Please sign in to comment.