mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Graphite: fixed: moving graphite function left/right did not update query, Fixes #1100
This commit is contained in:
@@ -206,6 +206,7 @@ function (angular, _, $) {
|
||||
if ($target.hasClass('icon-arrow-left')) {
|
||||
$scope.$apply(function() {
|
||||
_.move($scope.functions, $scope.$index, $scope.$index - 1);
|
||||
$scope.targetChanged();
|
||||
});
|
||||
return;
|
||||
}
|
||||
@@ -213,6 +214,7 @@ function (angular, _, $) {
|
||||
if ($target.hasClass('icon-arrow-right')) {
|
||||
$scope.$apply(function() {
|
||||
_.move($scope.functions, $scope.$index, $scope.$index + 1);
|
||||
$scope.targetChanged();
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user