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

This commit is contained in:
Denis Doria 2017-03-06 07:49:28 +01:00 committed by Torkel Ödegaard
parent e71b13d9fa
commit 0264fcc66c

View File

@ -106,6 +106,7 @@ export class DashNavCtrl {
confirmText: confirmText,
yesText: 'Delete',
onConfirm: function() {
$scope.dashboardMeta.canSave = false;
$scope.deleteDashboardConfirmed();
}
});