Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix multiple missing

pythongosssss92e912c065c8
diff --git a/web/scripts/app.js b/web/scripts/app.js
index dee4f65ac..10019ce82 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -902,9 +902,9 @@ class ComfyApp {
if (missingNodeTypes.length) {
this.ui.dialog.show(
- `When loading the graph, the following node types were not found: <ul>${missingNodeTypes.map(
+ `When loading the graph, the following node types were not found: <ul>${Array.from(new Set(missingNodeTypes)).map(
(t) => `<li>${t}</li>`
- )}</ul>Nodes that have failed to load will show as red on the graph.`
+ ).join("")}</ul>Nodes that have failed to load will show as red on the graph.`
);
}
}