Fixed #38 - Alias don't set automatically from item name.

This commit is contained in:
Alexander Zobnin
2015-06-29 13:14:34 +03:00
parent 7f76984bcb
commit 73eb57ef56

View File

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