mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
Removed unnecessary statement.
This commit is contained in:
parent
28ef972c9f
commit
9cdf0601eb
@ -99,7 +99,6 @@ function (angular, _) {
|
||||
$scope.duplicate = function(variable) {
|
||||
$scope.current = angular.copy(variable);
|
||||
$scope.variables.push($scope.current);
|
||||
$scope.current = $scope.variables[$scope.variables.length - 1];
|
||||
$scope.current.name = 'copy_of_'+variable.name;
|
||||
$scope.updateSubmenuVisibility();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user