From 71f257d5291a091cfb005d28221d4ab38698ef42 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Mon, 19 Aug 2024 14:28:06 +0200 Subject: [PATCH] Disable rule selector in ReportReasonSelector if instance has no rules (#31458) --- .../mastodon/components/admin/ReportReasonSelector.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/admin/ReportReasonSelector.jsx b/app/javascript/mastodon/components/admin/ReportReasonSelector.jsx index cc05e5c163..351f1c949e 100644 --- a/app/javascript/mastodon/components/admin/ReportReasonSelector.jsx +++ b/app/javascript/mastodon/components/admin/ReportReasonSelector.jsx @@ -153,7 +153,7 @@ class ReportReasonSelector extends PureComponent { - + {rules.map(rule => )}