1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #4297 from node-red/4294-fix-junction-quick-add

Ensure junction appears when filtering quick-add list
This commit is contained in:
Nick O'Leary 2023-09-05 09:42:42 +01:00 committed by GitHub
commit 9a899b929e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,6 +362,7 @@ RED.typeSearch = (function() {
items.push({type:t,def: def, label:getTypeLabel(t,def)}); items.push({type:t,def: def, label:getTypeLabel(t,def)});
} }
}); });
items.push({ type: 'junction', def: { inputs:1, outputs: 1, label: 'junction', type: 'junction'}, label: 'junction' })
items.sort(sortTypeLabels); items.sort(sortTypeLabels);
var commonCount = 0; var commonCount = 0;