diff --git a/src/stores/nodeDefStore.ts b/src/stores/nodeDefStore.ts index c754ba021..03715f1c5 100644 --- a/src/stores/nodeDefStore.ts +++ b/src/stores/nodeDefStore.ts @@ -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) {