From d761eaa4864e21d9302c6e58eb36daa20cecee6a Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:47:46 +0100 Subject: [PATCH] if the output type is an array, use combo --- web/scripts/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/scripts/app.js b/web/scripts/app.js index 3c29a684..5b9e7658 100644 --- a/web/scripts/app.js +++ b/web/scripts/app.js @@ -1306,7 +1306,8 @@ export class ComfyApp { } for (const o in nodeData["output"]) { - const output = nodeData["output"][o]; + let output = nodeData["output"][o]; + if(output instanceof Array) output = "COMBO"; const outputName = nodeData["output_name"][o] || output; const outputShape = nodeData["output_is_list"][o] ? LiteGraph.GRID_SHAPE : LiteGraph.CIRCLE_SHAPE ; this.addOutput(outputName, output, { shape: outputShape });