From 225778c91a64775c0d6d9dc1c70f1341136ad45e Mon Sep 17 00:00:00 2001 From: f0x Date: Fri, 2 Dec 2022 14:49:40 +0000 Subject: [PATCH] remove domain block edit functionality until implemented in backend --- web/source/settings/admin/federation.js | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/web/source/settings/admin/federation.js b/web/source/settings/admin/federation.js index 449d2156fb..753024e586 100644 --- a/web/source/settings/admin/federation.js +++ b/web/source/settings/admin/federation.js @@ -339,28 +339,39 @@ function InstancePage({domain, Form}) { return (

Federation settings for: {domain}

- {entry.new && "No stored block yet, you can add one below:"} + {entry.new + ? "No stored block yet, you can add one below:" + : Editing domain blocks is not implemented yet, check here for progress. + }
- - - {!entry.new && - + {entry.new + ? + : } {errorMsg.length > 0 &&