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

Ensure junction appears when filtering quick-add list

This commit is contained in:
Nick O'Leary 2023-09-01 15:41:33 +01:00
parent 2478a7194e
commit e1712073c9
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

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;