mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-24 09:57:27 +00:00
Only show email domain blocks MX table when some found (#32155)
This commit is contained in:
parent
f517f0dbef
commit
4e6f13a0fb
|
@ -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…
Reference in a new issue