Commit ad8e0cc0 authored by comfyanonymous's avatar comfyanonymous
Browse files

Merge branch 'default-replace-name' of https://github.com/pythongosssss/ComfyUI

parents d6a3c0d4 a3516225
......@@ -90,7 +90,7 @@ app.registerExtension({
const r = onNodeCreated ? onNodeCreated.apply(this, arguments) : undefined;
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment