Fixed linter error.
This commit is contained in:
@@ -83,9 +83,10 @@ function (angular, _, dateMath) {
|
|||||||
var promises = _.map(options.targets, function(target) {
|
var promises = _.map(options.targets, function(target) {
|
||||||
|
|
||||||
if (target.mode !== 1) {
|
if (target.mode !== 1) {
|
||||||
|
|
||||||
// Don't show undefined and hidden targets
|
// Don't show undefined and hidden targets
|
||||||
if (target.hide || !target.group || !target.host
|
if (target.hide || !target.group || !target.host ||
|
||||||
|| !target.application || !target.item) {
|
!target.application || !target.item) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user