Ensure junction appears when filtering quick-add list

pull/4297/head
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
1 changed files with 1 additions and 0 deletions

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;