Bläddra i källkod

fix(dashbard): fixed issue confirmig when saving a dashboard with conflict

Torkel Ödegaard 9 år sedan
förälder
incheckning
42961ef8a0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      public/app/features/dashboard/dashboard_srv.ts

+ 1 - 1
public/app/features/dashboard/dashboard_srv.ts

@@ -88,7 +88,7 @@ export class DashboardSrv {
         onAltAction: () => {
           this.saveDashboardAs();
         },
-        onConfirm: function() {
+        onConfirm: () => {
           this.saveDashboard({overwrite: true});
         }
       });