diff --git a/client/src/components/Sidebar.tsx b/client/src/components/Sidebar.tsx index c5fad18..02d30a5 100644 --- a/client/src/components/Sidebar.tsx +++ b/client/src/components/Sidebar.tsx @@ -362,7 +362,64 @@ const Sidebar = ({ )} + {transportType === "sse" && ( +
+ + {showCustomHeaders && ( +
+ {customHeaders.map((header, index) => ( +
+ + updateCustomHeader(index, 'key', e.target.value)} + className="font-mono" + /> + + updateCustomHeader(index, 'value', e.target.value)} + className="font-mono" + /> + +
+ ))} + +
+ )} +
+ )} {transportType === "stdio" && (
- {showCustomHeaders && ( -
- {customHeaders.map((header, index) => ( -
- - updateCustomHeader(index, 'key', e.target.value)} - className="font-mono" - /> - - updateCustomHeader(index, 'value', e.target.value)} - className="font-mono" - /> - -
- ))} - -
- )} -
+