Fallback for node title

This commit is contained in:
City 2023-03-31 00:54:35 +02:00
parent 5bcbc007dd
commit e6e30ee7cb

View File

@ -777,7 +777,7 @@ class ComfyApp {
app.#invokeExtensionsAsync("nodeCreated", this); app.#invokeExtensionsAsync("nodeCreated", this);
}, },
{ {
title: nodeData.display_name, title: nodeData.display_name || nodeData.name,
comfyClass: nodeData.name, comfyClass: nodeData.name,
} }
); );