diff --git a/client/src/Components/ParameterView/ParameterNode.tsx b/client/src/Components/ParameterView/ParameterNode.tsx index 3a6658948..bcd6f3802 100644 --- a/client/src/Components/ParameterView/ParameterNode.tsx +++ b/client/src/Components/ParameterView/ParameterNode.tsx @@ -7,6 +7,9 @@ import { Dropdown } from "react-bootstrap"; type ParameterProps = {inputParameter: PythonParameter} const ParameterNode = ({inputParameter}: ParameterProps) => { + + const hasDescription = !!inputParameter.docstring; + return (
@@ -21,7 +24,15 @@ const ParameterNode = ({inputParameter}: ParameterProps) => { - + { + hasDescription && + + } + { + !hasDescription && +

No Documentation available

+ } +
); };