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

pull/23317/head
Matt Jankowski 3 months ago committed by GitHub
parent 4b4bf82ea9
commit 651846c622
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save