mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 23:50:00 +00:00
Fix context menu on node with only optional input (#514)
This commit is contained in:
@@ -379,7 +379,7 @@ export function getWidgetConfig(slot) {
|
||||
function getConfig(widgetName) {
|
||||
const { nodeData } = this.constructor
|
||||
return (
|
||||
nodeData?.input?.required[widgetName] ??
|
||||
nodeData?.input?.required?.[widgetName] ??
|
||||
nodeData?.input?.optional?.[widgetName]
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user