From 5c3162cc33a32ecaa0b565b714f83951e14c5bb2 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 1 Apr 2024 19:58:41 +0800 Subject: [PATCH] fix: http delete btn hide --- .../key-value/key-value-edit/index.tsx | 2 +- .../key-value/key-value-edit/input-item.tsx | 23 ++++++------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/index.tsx b/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/index.tsx index 3e605bc223..14e02f6c96 100644 --- a/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/index.tsx +++ b/web/app/components/workflow/nodes/http/components/key-value/key-value-edit/index.tsx @@ -69,7 +69,7 @@ const KeyValueList: FC = ({ { list.map((item, index) => ( = ({
{(!readOnly) ? ( - // = ({ placeholderClassName='!leading-[21px]' /> )} - {hasRemove && !isFocus && ( - - )} +
} + {hasRemove && !isFocus && ( + + )} ) }