From a931ccdc4d59bb1be8be4aa8105a4bac90ef7659 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Sun, 25 Aug 2024 21:15:11 +0200 Subject: [PATCH] Fix bug where if a domain_allow record existed in open federation mode, the text read 'allowed for federation' instead of 'not limits imposed' --- app/views/admin/instances/_instance.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/instances/_instance.html.haml b/app/views/admin/instances/_instance.html.haml index 4cae3caf52..d66519e978 100644 --- a/app/views/admin/instances/_instance.html.haml +++ b/app/views/admin/instances/_instance.html.haml @@ -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')