mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 10:02:28 +08:00
nit
This commit is contained in:
parent
c2ac84c3d3
commit
0ae2b7f338
@ -40,6 +40,10 @@ class WorkflowMetadataExtension {
|
|||||||
const nodeVersions = {};
|
const nodeVersions = {};
|
||||||
for (const node of graph.nodes) {
|
for (const node of graph.nodes) {
|
||||||
const nodeData = node.constructor.nodeData;
|
const nodeData = node.constructor.nodeData;
|
||||||
|
// Frontend only nodes don't have nodeData
|
||||||
|
if (!nodeData) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
const modules = nodeData.python_module.split(".");
|
const modules = nodeData.python_module.split(".");
|
||||||
|
|
||||||
if (modules[0] === "custom_nodes") {
|
if (modules[0] === "custom_nodes") {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user