Fixed building request for text metrics.

This commit is contained in:
Alexander Zobnin
2016-04-12 14:29:12 +03:00
parent 4ddfc4becf
commit e210150c82
3 changed files with 11 additions and 11 deletions

View File

@@ -102,9 +102,9 @@ angular.module('grafana.services').factory('ZabbixCachingProxy', function($q, $i
});
}
getItems(hostids, appids) {
getItems(hostids, appids, itemtype) {
var self = this;
return this.getItemsOnce(hostids, appids)
return this.getItemsOnce(hostids, appids, itemtype)
.then(items => {
self._items = _.union(self._items, items);
return items;