mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-11 02:20:08 +00:00
[Schema] ComfyNodeDefV2 schema (#2847)
This commit is contained in:
@@ -624,7 +624,7 @@ app.registerExtension({
|
||||
app.canvas.getWidgetLinkType = function (widget, node) {
|
||||
const nodeDefStore = useNodeDefStore()
|
||||
const nodeDef = nodeDefStore.nodeDefsByName[node.type]
|
||||
const input = nodeDef.inputs.getInput(widget.name)
|
||||
const input = nodeDef.inputs[widget.name]
|
||||
return input?.type
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user