浏览代码

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

Torkel Ödegaard 9 年之前
父节点
当前提交
42961ef8a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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});
         }
       });