mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Prevent converted widget being duplicated (#1115)
This commit is contained in:
@@ -715,6 +715,7 @@ app.registerExtension({
|
||||
widget.options || {}
|
||||
]
|
||||
if (!isConvertibleWidget(widget, config)) return false
|
||||
if (widget.type?.startsWith(CONVERTED_TYPE)) return false
|
||||
convertToInput(this, widget, config)
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user