From 0264fcc66ca3e650ec64de4d86398f322eae5351 Mon Sep 17 00:00:00 2001 From: Denis Doria Date: Mon, 6 Mar 2017 07:49:28 +0100 Subject: [PATCH] Remove unsaved dialog when removing a dashboard #7591 (#7733) --- public/app/features/dashboard/dashnav/dashnav.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/features/dashboard/dashnav/dashnav.ts b/public/app/features/dashboard/dashnav/dashnav.ts index 33bb4411640..faaac986ee7 100644 --- a/public/app/features/dashboard/dashnav/dashnav.ts +++ b/public/app/features/dashboard/dashnav/dashnav.ts @@ -106,6 +106,7 @@ export class DashNavCtrl { confirmText: confirmText, yesText: 'Delete', onConfirm: function() { + $scope.dashboardMeta.canSave = false; $scope.deleteDashboardConfirmed(); } });