From bb7948f31ae81542a41ce5e4239941b615b477a4 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Fri, 2 Dec 2022 15:56:23 +0100 Subject: [PATCH] [chore/frontend] remove domain block edit functionality until implemented in backend (#1199) --- 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 449d2156f..753024e58 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 &&