Templated items search: select only unique names.

This commit is contained in:
Alexander Zobnin
2015-05-31 15:12:25 +03:00
parent 1eefaa78d8
commit 4313ecb800

View File

@@ -454,7 +454,7 @@ function (angular, _, kbn) {
var itemname = expandItemName(item) var itemname = expandItemName(item)
return { return {
// TODO: select only unique names // TODO: select only unique names
text: (item.hosts ? '['+item.hosts[0].name+']: ' : '') + itemname, text: itemname,
expandable: false expandable: false
}; };
}); });