iss 35 - add some comments.

This commit is contained in:
Alexander Zobnin
2015-06-28 20:11:03 +03:00
parent 1ca18d4823
commit c2fc81b4de
2 changed files with 35 additions and 10 deletions

View File

@@ -162,7 +162,6 @@ function (angular, _) {
var groups = $scope.target.group ? splitMetrics(templateSrv.replace($scope.target.group.name)) : undefined;
var hosts = $scope.target.host ? splitMetrics(templateSrv.replace($scope.target.host.name)) : undefined;
zabbix.appFindQuery(hosts, groups).then(function (apps) {
// TODO: work with app names, not objects
var apps = _.map(_.uniq(_.map(apps, 'name')), function (appname) {
return {name: appname};
});