diff --git a/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx b/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx index 497b62fb7d..e5e10f724b 100644 --- a/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx +++ b/web/app/components/workflow/nodes/_base/components/prompt/editor.tsx @@ -77,8 +77,8 @@ const Editor: FC = ({ return (
-
-
+
+
{title}
diff --git a/web/app/components/workflow/nodes/http/components/edit-body/index.tsx b/web/app/components/workflow/nodes/http/components/edit-body/index.tsx index 34753218b4..daeac6e28f 100644 --- a/web/app/components/workflow/nodes/http/components/edit-body/index.tsx +++ b/web/app/components/workflow/nodes/http/components/edit-body/index.tsx @@ -64,8 +64,6 @@ const EditBody: FC = ({ list: body, setList: setBody, addItem: addBody, - isKeyValueEdit: isBodyKeyValueEdit, - toggleIsKeyValueEdit: toggleIsBodyKeyValueEdit, } = useKeyValueList(payload.data, (value) => { const newBody = produce(payload, (draft: Body) => { draft.data = value @@ -151,6 +149,7 @@ const EditBody: FC = ({ onChange={handleBodyValueChange} justVar nodesOutputVars={availableVarList} + readOnly={readonly} /> )}