mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
Fix undefined spec (#452)
This commit is contained in:
@@ -104,7 +104,8 @@ export class ComfyInputsSpec {
|
||||
): BaseInputSpec {
|
||||
if (!BaseInputSpec.isInputSpec(value)) return value
|
||||
|
||||
const [typeRaw, spec] = value
|
||||
const [typeRaw, _spec] = value
|
||||
const spec = _spec ?? {}
|
||||
const type = Array.isArray(typeRaw) ? 'COMBO' : value[0]
|
||||
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user