diff --git a/public/app/features/dashboard/dashboard_srv.ts b/public/app/features/dashboard/dashboard_srv.ts index 96a3bb1af7b..b6e92f64fee 100644 --- a/public/app/features/dashboard/dashboard_srv.ts +++ b/public/app/features/dashboard/dashboard_srv.ts @@ -88,7 +88,7 @@ export class DashboardSrv { onAltAction: () => { this.saveDashboardAs(); }, - onConfirm: function() { + onConfirm: () => { this.saveDashboard({overwrite: true}); } });