From 1f21e7ceefe39c4d824512bc97db7d676ba0d0c2 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 31 Aug 2026 16:11:03 -0700 Subject: [PATCH] improvement(ui): move secret visibility below description --- .../secrets/[credentialId]/secret-detail.tsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/settings/secrets/[credentialId]/secret-detail.tsx b/apps/sim/app/workspace/[workspaceId]/settings/secrets/[credentialId]/secret-detail.tsx index 65e271083cb..1a5b731c228 100644 --- a/apps/sim/app/workspace/[workspaceId]/settings/secrets/[credentialId]/secret-detail.tsx +++ b/apps/sim/app/workspace/[workspaceId]/settings/secrets/[credentialId]/secret-detail.tsx @@ -255,6 +255,22 @@ export function SecretDetail({ workspaceId, credentialId }: SecretDetailProps) { /> + {!isPersonal && ( + + form.setDescriptionDraft(event.target.value)} + placeholder='Add a description...' + maxLength={500} + autoComplete='off' + data-lpignore='true' + viewOnly={!isWorkspaceSecretAdmin} + /> + + )} + {!isPersonal && (
@@ -276,22 +292,6 @@ export function SecretDetail({ workspaceId, credentialId }: SecretDetailProps) { )} - {!isPersonal && ( - - form.setDescriptionDraft(event.target.value)} - placeholder='Add a description...' - maxLength={500} - autoComplete='off' - data-lpignore='true' - viewOnly={!isWorkspaceSecretAdmin} - /> - - )} - {!isPersonal && }