"docs/source/api/schedulers/ddim.mdx" did not exist on "2fb8fafa4b761f6fc144cf75a6f6f0ea6af3a1c1"
Commit a5550747 authored by Jairo Correa's avatar Jairo Correa
Browse files

Use name from input to export single node template

parent 6dbb18df
...@@ -182,7 +182,7 @@ class ManageTemplates extends ComfyDialog { ...@@ -182,7 +182,7 @@ class ManageTemplates extends ComfyDialog {
const url = URL.createObjectURL(blob); const url = URL.createObjectURL(blob);
const a = $el("a", { const a = $el("a", {
href: url, href: url,
download: t.name + ".json", download: (nameInput.value || t.name) + ".json",
style: {display: "none"}, style: {display: "none"},
parent: document.body, parent: document.body,
}); });
......
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