Reduce LineLength for react_admin_component helpers (#29650)

This commit is contained in:
Matt Jankowski 2024-03-20 09:45:34 -04:00 committed by GitHub
commit 0a33be39c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 162 additions and 27 deletions

View file

@ -20,7 +20,11 @@
%p= t 'admin.reports.category_description_html'
= react_admin_component :report_reason_selector, id: @report.id, category: @report.category, rule_ids: @report.rule_ids&.map(&:to_s), disabled: @report.action_taken?
= react_admin_component :report_reason_selector,
category: @report.category,
disabled: @report.action_taken?,
id: @report.id,
rule_ids: @report.rule_ids&.map(&:to_s)
- if @report.comment.present?
= render 'admin/reports/comment', report: @report