Do not include tab types in typeSearch dialog

This commit is contained in:
Nick O'Leary
2017-08-02 21:54:58 +01:00
parent eaf08a9971
commit 7ec8f0d26b

View File

@@ -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)});
} }
}); });