mirror of
https://github.com/node-red/node-red
synced 2024-11-21 15:43:16 +00:00
Remove disabled node types from QuickAddDialog list
This commit is contained in:
parent
54bf3f4402
commit
abe0b60bf7
@ -382,7 +382,7 @@ RED.typeSearch = (function() {
|
||||
var items = [];
|
||||
RED.nodes.registry.getNodeTypes().forEach(function(t) {
|
||||
var def = RED.nodes.getType(t);
|
||||
if (def.category !== 'config' && t !== 'unknown' && t !== 'tab') {
|
||||
if (def.set.enabled && def.category !== 'config' && t !== 'unknown' && t !== 'tab') {
|
||||
items.push({type:t,def: def, label:getTypeLabel(t,def)});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user