mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-26 17:54:14 +00:00
Properly implement ComfyNodeDef interface (#1821)
* nit * Properly implement ComfyNodeDef interface * nit * Mark readonly
This commit is contained in:
@@ -105,8 +105,8 @@ const litegraphColors = colors ?? defaultColorPalette.colors.litegraph_base
|
||||
const widgetStore = useWidgetStore()
|
||||
|
||||
const nodeDef = props.nodeDef
|
||||
const allInputDefs = nodeDef.input.all
|
||||
const allOutputDefs = nodeDef.output.all
|
||||
const allInputDefs = nodeDef.inputs.all
|
||||
const allOutputDefs = nodeDef.outputs.all
|
||||
const slotInputDefs = allInputDefs.filter(
|
||||
(input) => !widgetStore.inputIsWidget(input)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user