Only show email domain blocks MX table when some found (#32155)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-10-01 11:03:13 +00:00
1 parent 4b4bf82ea9
commit 651846c622
1 file changed
+1 -1
@@ -16,7 +16,7 @@
label: I18n.t('admin.email_domain_blocks.allow_registrations_with_approval'),
wrapper: :with_label
- if defined?(@resolved_records)
- if defined?(@resolved_records) && @resolved_records.any?
%p.hint= t('admin.email_domain_blocks.resolved_dns_records_hint_html')
.batch-table