diff --git a/public/app/features/dashboard/partials/shareModal.html b/public/app/features/dashboard/partials/shareModal.html index 881d30ada97..6b9ff8aef16 100644 --- a/public/app/features/dashboard/partials/shareModal.html +++ b/public/app/features/dashboard/partials/shareModal.html @@ -84,6 +84,13 @@

+
+

+ The snapshot has now been deleted. If it you have already accessed it once, It might take up to an hour before it is removed from + browser caches or CDN caches. +

+
+
@@ -135,7 +142,8 @@
- Did you make a mistake? delete snapshot. + Did you make a mistake? delete snapshot.
+
diff --git a/public/app/features/dashboard/shareSnapshotCtrl.js b/public/app/features/dashboard/shareSnapshotCtrl.js index 010f074957b..bcdbee57d18 100644 --- a/public/app/features/dashboard/shareSnapshotCtrl.js +++ b/public/app/features/dashboard/shareSnapshotCtrl.js @@ -117,6 +117,12 @@ function (angular, _) { }); }; + $scope.deleteSnapshot = function() { + backendSrv.get($scope.deleteUrl).then(function() { + $scope.step = 3; + }); + }; + $scope.saveExternalSnapshotRef = function(cmdData, results) { // save external in local instance as well cmdData.external = true;