From 73eb57ef5684680ca0f5754296ca4af72c78345c Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Mon, 29 Jun 2015 13:14:34 +0300 Subject: [PATCH] Fixed #38 - Alias don't set automatically from item name. --- zabbix/queryCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zabbix/queryCtrl.js b/zabbix/queryCtrl.js index 886255d..4f847c9 100644 --- a/zabbix/queryCtrl.js +++ b/zabbix/queryCtrl.js @@ -37,7 +37,7 @@ function (angular, _) { */ function setItemAlias() { if (!$scope.target.alias && $scope.target.item) { - $scope.target.alias = zabbix.expandItemName($scope.target.item); + $scope.target.alias = $scope.target.item.name; } };