chore: code generator button should only display in code node (#9842)

This commit is contained in:
非法操作
2024-10-25 15:00:12 +08:00
committed by GitHub
parent 1b5adf40da
commit 84a9d2d072
3 changed files with 11 additions and 3 deletions

View File

@@ -92,6 +92,7 @@ const Panel: FC<NodePanelProps<CodeNodeType>> = ({
language={inputs.code_language}
value={inputs.code}
onChange={handleCodeChange}
showCodeGenerator={true}
/>
</div>
<Split />