Remove unsaved dialog when removing a dashboard #7591 (#7733)

pull/7739/head
Denis Doria 8 years ago committed by Torkel Ödegaard
parent e71b13d9fa
commit 0264fcc66c
  1. 1
      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();
}
});

Loading…
Cancel
Save