Merge pull request #5407 from piotrbogun/5404/Editor/quick-add-dialog-junction-error

5404/Editor/Bug: Junction error in Quick Add dialog
pull/5401/head^2
Nick O'Leary 2026-01-05 17:27:05 +00:00 committed by GitHub
commit 4028ecdb78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -6545,6 +6545,9 @@ RED.view = (function() {
suggestedNodes = [suggestedNodes]
}
suggestedNodes = suggestedNodes.filter(n => {
if (n.type === 'junction') {
return true
}
const def = RED.nodes.getType(n.type)
if (def?.set && def.set.enabled === false) {
// Exclude disabled node set