diff --git a/javascript/sdppp-custom.js b/javascript/sdppp-custom.js index e94855b..bcdb34e 100644 --- a/javascript/sdppp-custom.js +++ b/javascript/sdppp-custom.js @@ -117,7 +117,7 @@ export default function(sdppp) { title: node.title, widgets: node.widgets.map((widget) => ({ value: widget.value, - name: '', + name: node.type.indexOf('Group') != -1 ? (widget.label || widget.name) : '',, outputType: widget.type || "toggle", options: widget.options })) @@ -163,4 +163,4 @@ export default function(sdppp) { */ function nameByConnectedOutputOrTitle(node) { return node.outputs?.[0].widget?.name || node.title; -} \ No newline at end of file +}