mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Stop module with missing types from preventing editor load
This commit is contained in:
parent
866f305686
commit
15aa249f64
@ -86,6 +86,10 @@ RED.nodes = (function() {
|
||||
}
|
||||
},
|
||||
addNodeSet: function(ns) {
|
||||
if (!ns.types) {
|
||||
// A node has been loaded without any types. Ignore it.
|
||||
return;
|
||||
}
|
||||
ns.added = false;
|
||||
nodeSets[ns.id] = ns;
|
||||
for (var j=0;j<ns.types.length;j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user