From a0d8cb8bbf12d6fadf40ab660cda1a5d5923f13b Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sun, 1 Mar 2026 00:10:50 +0100 Subject: [PATCH] Fix: set output label alongside name for LiteGraph rendering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LiteGraph renders slot.label over slot.name — we were updating name but the display uses label. Co-Authored-By: Claude Opus 4.6 --- web/project_dynamic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/project_dynamic.js b/web/project_dynamic.js index 7a5e766..15b525e 100644 --- a/web/project_dynamic.js +++ b/web/project_dynamic.js @@ -146,7 +146,7 @@ app.registerExtension({ newOutputs.push(slot); delete oldSlots[key]; } else { - newOutputs.push({ name: key, type: type, links: null }); + newOutputs.push({ name: key, label: key, type: type, links: null }); } } @@ -259,6 +259,7 @@ app.registerExtension({ const slotIdx = i + 1; if (slotIdx < this.outputs.length) { this.outputs[slotIdx].name = keys[i].trim(); + this.outputs[slotIdx].label = keys[i].trim(); if (types[i]) this.outputs[slotIdx].type = types[i]; } }