Fixed linter error.

This commit is contained in:
Alexander Zobnin
2016-01-16 15:10:36 +03:00
parent 96f2c2b275
commit 07835dcc83

View File

@@ -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 [];
} }