From 23e6e6d67e73ecd88c8886685b810b001d2cfe62 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Sat, 25 Jul 2015 18:51:46 +0300 Subject: [PATCH] Refactoring - fixed linter errors. --- zabbix/queryCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zabbix/queryCtrl.js b/zabbix/queryCtrl.js index 0ed50b2..f2b181d 100644 --- a/zabbix/queryCtrl.js +++ b/zabbix/queryCtrl.js @@ -202,7 +202,8 @@ define([ $scope.updateItemList = function () { var groups = $scope.target.group ? zabbixHelperSrv.splitMetrics(templateSrv.replace($scope.target.group.name)) : undefined; var hosts = $scope.target.host ? zabbixHelperSrv.splitMetrics(templateSrv.replace($scope.target.host.name)) : undefined; - var apps = $scope.target.application ? zabbixHelperSrv.splitMetrics(templateSrv.replace($scope.target.application.name)) : undefined; + var apps = $scope.target.application ? + zabbixHelperSrv.splitMetrics(templateSrv.replace($scope.target.application.name)) : undefined; if (groups && hosts && apps) { $scope.datasource.zabbixAPI.itemFindQuery(groups, hosts, apps).then(function (items) { // Show only unique item names