Bläddra i källkod

refactor(panel): simplify outputSchema mapping for improved readability

tags/2.0.0-beta.1
twwu 2 månader sedan
förälder
incheckning
c7510d3f54
1 ändrade filer med 3 tillägg och 4 borttagningar
  1. 3
    4
      web/app/components/workflow/nodes/data-source/panel.tsx

+ 3
- 4
web/app/components/workflow/nodes/data-source/panel.tsx Visa fil

/> />
)) ))
} }
{
outputSchema.map((outputItem) => {
const schemaType = getMatchedSchemaType(outputItem.value, schemaTypeDefinitions)
{outputSchema.map((outputItem) => {
const schemaType = getMatchedSchemaType(outputItem.value, schemaTypeDefinitions)


return (
return (
<div key={outputItem.name}> <div key={outputItem.name}>
{outputItem.value?.type === 'object' ? ( {outputItem.value?.type === 'object' ? (
<StructureOutputItem <StructureOutputItem

Laddar…
Avbryt
Spara