diff --git a/web/app/components/workflow/nodes/code/panel.tsx b/web/app/components/workflow/nodes/code/panel.tsx index 131257035b..88a533a17f 100644 --- a/web/app/components/workflow/nodes/code/panel.tsx +++ b/web/app/components/workflow/nodes/code/panel.tsx @@ -31,9 +31,9 @@ const Panel: FC> = ({ data, }) => { const { t } = useTranslation() - const readOnly = false const { + readOnly, inputs, handleVarListChange, handleAddVariable, @@ -60,7 +60,7 @@ const Panel: FC> = ({ + !readOnly ? : undefined } > > = ({ /> - {isShowSingleRun && ( - } - /> - )} - + { + isShowSingleRun && ( + } + /> + ) + } + ) }