Fixed query editor slowdown when opened.
This commit is contained in:
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user