Prechádzať zdrojové kódy

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

Torkel Ödegaard 9 rokov pred
rodič
commit
42961ef8a0

+ 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});
         }
       });