Fix bug where if a domain_allow record existed in open federation mode, the text read 'allowed for federation' instead of 'not limits imposed'

pull/31481/head
Emelia Smith 2024-08-25 21:15:11 +02:00
parent 0248bca3c7
commit a931ccdc4d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
%span.comment.public-comment #{t('admin.domain_blocks.public_comment')}: #{instance.domain_block.public_comment}
- if instance.domain_block.private_comment.present?
%span.comment.private-comment #{t('admin.domain_blocks.private_comment')}: #{instance.domain_block.private_comment}
- elsif instance.domain_allow
- elsif limited_federation_mode? && instance.domain_allow
= t('admin.accounts.whitelisted')
- else
= t('admin.accounts.no_limits_imposed')