From 22e156ea83d229c267e0d298753e9d2322c5d5a6 Mon Sep 17 00:00:00 2001 From: Echo Date: Fri, 27 Mar 2026 13:40:34 +0100 Subject: [PATCH] [Glitch] Profile editing: Make field buttons vanish instead of disable Port 9b6f877be59b8da9aba1ae82cf455bdaa5ae512d to glitch-soc Signed-off-by: Claire --- .../glitch/features/account_edit/index.tsx | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app/javascript/flavours/glitch/features/account_edit/index.tsx b/app/javascript/flavours/glitch/features/account_edit/index.tsx index fc0150ca72..41adaafcad 100644 --- a/app/javascript/flavours/glitch/features/account_edit/index.tsx +++ b/app/javascript/flavours/glitch/features/account_edit/index.tsx @@ -241,21 +241,23 @@ export const AccountEdit: FC = () => { showDescription={!hasFields} buttons={
- + )} + {profile.fields.length < maxFieldCount && ( + - - = maxFieldCount} - /> + )}
} >