Fixed IT Services bug (can't find getITService() function).

This commit is contained in:
Alexander Zobnin
2016-11-17 16:13:34 +03:00
parent 51a00edb99
commit 092b6c897c
2 changed files with 4 additions and 4 deletions

View File

@@ -282,10 +282,9 @@ export class ZabbixQueryController extends QueryCtrl {
* Update list of IT services
*/
updateITServiceList() {
var self = this;
this.datasource.zabbixAPI.getITService().then(function (iteservices) {
self.itserviceList = [];
self.itserviceList = self.itserviceList.concat(iteservices);
this.zabbix.getITService().then((iteservices) => {
this.itserviceList = [];
this.itserviceList = this.itserviceList.concat(iteservices);
});
}