Sfoglia il codice sorgente

fix: code-block-missing-checks (#7002)

tags/0.7.0
crazywoola 1 anno fa
parent
commit
7f18c06b0a
Nessun account collegato all'indirizzo email del committer

+ 8
- 6
web/app/components/workflow/nodes/_base/components/variable/utils.ts Vedi File

@@ -125,12 +125,14 @@ const formatItem = (
const {
outputs,
} = data as CodeNodeType
res.vars = Object.keys(outputs).map((key) => {
return {
variable: key,
type: outputs[key].type,
}
})
res.vars = outputs
? Object.keys(outputs).map((key) => {
return {
variable: key,
type: outputs[key].type,
}
})
: []
break
}


Loading…
Annulla
Salva