Make node def output class (#231)

* Refactor node def output

* Adjust test
This commit is contained in:
Chenlei Hu
2024-07-26 11:09:43 -04:00
committed by GitHub
parent 4dba1d3ab0
commit a1750212e5
3 changed files with 24 additions and 21 deletions

View File

@@ -59,7 +59,7 @@ const nodeDefStore = useNodeDefStore()
const nodeDef = props.nodeDef
const allInputDefs = nodeDef.input.all
const allOutputDefs = Object.values(nodeDef.output)
const allOutputDefs = nodeDef.output.all
const slotInputDefs = allInputDefs.filter(
(input) => !nodeDefStore.inputIsWidget(input)
)