Ensure global-config is not selectable

pull/5329/head
GogoVega 2025-10-30 12:44:06 +01:00
parent 59d8568af0
commit 5085558cb2
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
1 changed files with 1 additions and 1 deletions

View File

@ -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);