mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-23 05:10:48 +08:00
component builder - fix initial displayed node name
This commit is contained in:
parent
042d5b406a
commit
4649d216b1
@ -594,7 +594,10 @@ export class ComponentBuilderDialog extends ComfyDialog {
|
|||||||
createNodeLabel() {
|
createNodeLabel() {
|
||||||
let label = $el('p');
|
let label = $el('p');
|
||||||
label.className = 'cb-node-label';
|
label.className = 'cb-node-label';
|
||||||
label.textContent = " _::" + this.target_node.comfyClass.substring(9);
|
if(this.target_node.comfyClass.includes('::'))
|
||||||
|
label.textContent = this.target_node.comfyClass.substring(9);
|
||||||
|
else
|
||||||
|
label.textContent = " _::" + this.target_node.comfyClass.substring(9);
|
||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user