Don't request undefined targets.
This commit is contained in:
@@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user