mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Do not include tab types in typeSearch dialog
This commit is contained in:
parent
eaf08a9971
commit
7ec8f0d26b
@ -236,7 +236,7 @@ RED.typeSearch = (function() {
|
|||||||
var items = [];
|
var items = [];
|
||||||
RED.nodes.registry.getNodeTypes().forEach(function(t) {
|
RED.nodes.registry.getNodeTypes().forEach(function(t) {
|
||||||
var def = RED.nodes.getType(t);
|
var def = RED.nodes.getType(t);
|
||||||
if (def.category !== 'config' && t !== 'unknown') {
|
if (def.category !== 'config' && t !== 'unknown' && t !== 'tab') {
|
||||||
items.push({type:t,def: def, label:getTypeLabel(t,def)});
|
items.push({type:t,def: def, label:getTypeLabel(t,def)});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user