Skip to content

Commit

Permalink
don't highlight comm report text in mod timeline
Browse files Browse the repository at this point in the history
we're not sure the words being highlighted were really said by the
reported player
  • Loading branch information
ornicar committed Oct 25, 2024
1 parent f7ad1d0 commit 7d4365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/src/main/ui/ModTimelineUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ final class ModTimelineUi(helpers: Helpers)(
submitButton(strong(atoms.head.reason.name), " report")(cls := "button-link")
)
),
renderText(atoms.head.text, highlightBad = atoms.head.reason.isComm)
renderText(atoms.head.text, highlightBad = false)
)

private def renderReportClose(r: ReportClose)(using Translate) = frag(
Expand Down

0 comments on commit 7d4365e

Please sign in to comment.