From df274416f99f9c5ba9e40a267fd24d515e0c831f Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 20 Mar 2024 16:00:41 +0800 Subject: [PATCH] feat: end support readonly --- web/app/components/workflow/nodes/end/panel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/workflow/nodes/end/panel.tsx b/web/app/components/workflow/nodes/end/panel.tsx index 0750064b93..a74ba51b6d 100644 --- a/web/app/components/workflow/nodes/end/panel.tsx +++ b/web/app/components/workflow/nodes/end/panel.tsx @@ -15,9 +15,9 @@ const Panel: FC> = ({ data, }) => { const { t } = useTranslation() - const readOnly = false const { + readOnly, inputs, handleVarListChange, handleAddVariable, @@ -31,7 +31,7 @@ const Panel: FC> = ({ + !readOnly ? : undefined } >