Refactor for built-in templates
This commit is contained in:
@@ -489,7 +489,7 @@ export default class ComfyGraphCanvas extends LGraphCanvas {
|
||||
const serialized = serializeTemplate(this, template);
|
||||
|
||||
try {
|
||||
if (templateState.add(serialized)) {
|
||||
if (templateState.addTemplate(serialized)) {
|
||||
notify("Template saved!", { type: "success" })
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user