mirror of https://github.com/node-red/node-red.git
Ensure global-config is not selectable
parent
59d8568af0
commit
5085558cb2
|
|
@ -145,7 +145,7 @@
|
|||
}
|
||||
});
|
||||
candidateNodes.forEach(function(n) {
|
||||
if (n.id === node.id || n.id === "global-config") {
|
||||
if (n.id === node.id || n.type === "global-config") {
|
||||
return;
|
||||
}
|
||||
var nodeDef = RED.nodes.getType(n.type);
|
||||
|
|
|
|||
Loading…
Reference in New Issue