mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-01 19:20:10 +00:00
Properly implement ComfyNodeDef interface (#1821)
* nit * Properly implement ComfyNodeDef interface * nit * Mark readonly
This commit is contained in:
@@ -1600,7 +1600,7 @@ export class ComfyApp {
|
||||
app.canvas.getWidgetLinkType = function (widget, node) {
|
||||
const nodeDefStore = useNodeDefStore()
|
||||
const nodeDef = nodeDefStore.nodeDefsByName[node.type]
|
||||
const input = nodeDef.input.getInput(widget.name)
|
||||
const input = nodeDef.inputs.getInput(widget.name)
|
||||
return input?.type
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user