mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed failing style check
This commit is contained in:
parent
7614ddb318
commit
4d13a5bffb
@ -81,17 +81,6 @@ function (angular, _, require, config) {
|
||||
$scope.imageUrl += '&height=500';
|
||||
};
|
||||
|
||||
$scope.snapshot = function() {
|
||||
$scope.dashboard.snapshot = true;
|
||||
$rootScope.$broadcast('refresh');
|
||||
|
||||
$timeout(function() {
|
||||
$scope.exportDashboard();
|
||||
$scope.dashboard.snapshot = false;
|
||||
$scope.appEvent('dashboard-snapshot-cleanup');
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
$scope.init();
|
||||
|
||||
});
|
||||
|
@ -21,7 +21,7 @@ function (angular) {
|
||||
var dash = angular.copy($scope.dashboard);
|
||||
dash.title = $scope.snapshot.name;
|
||||
|
||||
dash.forEachPanel(function(panel){
|
||||
dash.forEachPanel(function(panel) {
|
||||
panel.targets = [];
|
||||
panel.links = [];
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user