Don't request undefined targets.

This commit is contained in:
Alexander Zobnin
2016-01-29 19:03:34 +03:00
parent 71e60fb808
commit 075fed6668

View File

@@ -108,8 +108,9 @@ function (angular, _, dateMath, utils, metricFunctions) {
if (target.mode !== 1) { if (target.mode !== 1) {
// Don't show hidden targets // Don't request undefined and hidden targets
if (target.hide) { if (target.hide || !target.group ||
!target.host || !target.item) {
return []; return [];
} }