瀏覽代碼

fix: fixed build failure

Torkel Ödegaard 8 年之前
父節點
當前提交
2ce4a8e4c5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/features/dashboard/dashboardLoaderSrv.js

+ 1 - 1
public/app/features/dashboard/dashboardLoaderSrv.js

@@ -43,7 +43,7 @@ function (angular, moment, _, $, kbn, dateMath, impressionSrv) {
           });
       } else {
         promise = backendSrv.getDashboard($routeParams.type, $routeParams.slug)
-          .then(result => {
+          .then(function(result) {
             if (result.meta.isFolder) {
               $rootScope.appEvent("alert-error", ['Dashboard not found']);
               throw new Error("Dashboard not found");