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

View File

@@ -362,6 +362,7 @@ RED.typeSearch = (function() {
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);
var commonCount = 0;