mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-21 00:27:03 +08:00
hotfix label
This commit is contained in:
parent
e57444a5b5
commit
d054b28e61
@ -3470,7 +3470,7 @@
|
||||
*/
|
||||
LGraphNode.prototype.addInput = function(name, type, extra_info) {
|
||||
type = type || 0;
|
||||
var input = { name: name, label: extra_info.label, type: type, link: null };
|
||||
var input = { name: name, label: extra_info?.label || name, type: type, link: null };
|
||||
if (extra_info) {
|
||||
for (var i in extra_info) {
|
||||
input[i] = extra_info[i];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user