Fixed query editor slowdown when opened.

This commit is contained in:
Alexander Zobnin
2016-01-29 18:35:13 +03:00
parent 2676ca246b
commit 71e60fb808

View File

@@ -60,8 +60,6 @@ define([
//console.log("From server", $scope.metric); //console.log("From server", $scope.metric);
}); });
} }
setItemAlias();
} }
else if ($scope.target.mode === 1) { else if ($scope.target.mode === 1) {
$scope.slaPropertyList = [ $scope.slaPropertyList = [
@@ -77,9 +75,9 @@ define([
}; };
$scope.initFilters = function () { $scope.initFilters = function () {
$scope.onGroupBlur(); $scope.metric.filteredHosts = $scope.filterHosts();
$scope.onHostBlur(); $scope.metric.filteredApplications = $scope.filterApplications();
$scope.onApplicationBlur(); $scope.metric.filteredItems = $scope.filterItems();
}; };
$scope.getMetricsFromCache = function () { $scope.getMetricsFromCache = function () {