mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-13 16:04:34 +08:00
Merge branch 'default-replace-name' of https://github.com/pythongosssss/ComfyUI
This commit is contained in:
commit
ad8e0cc0fe
@ -90,7 +90,7 @@ app.registerExtension({
|
|||||||
const r = onNodeCreated ? onNodeCreated.apply(this, arguments) : undefined;
|
const r = onNodeCreated ? onNodeCreated.apply(this, arguments) : undefined;
|
||||||
|
|
||||||
if (!this.properties || !("Node name for S&R" in this.properties)) {
|
if (!this.properties || !("Node name for S&R" in this.properties)) {
|
||||||
this.addProperty("Node name for S&R", this.title, "string");
|
this.addProperty("Node name for S&R", this.constructor.type, "string");
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user