Build query in asynchronous manner (fixed getting data at first load).

This commit is contained in:
Alexander Zobnin
2016-01-28 19:12:08 +03:00
parent 76630587d3
commit 79842184bc
3 changed files with 77 additions and 62 deletions

View File

@@ -57,7 +57,7 @@ define([
zabbixCache.refresh().then(function () {
$scope.getMetricsFromCache();
$scope.initFilters();
console.log("From server", $scope.metric);
//console.log("From server", $scope.metric);
});
}