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
commit 84a9d2d072
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 />