From 2ce4a8e4c5ad0ca72733acd6dd749f4f87ded79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 11 Dec 2017 10:52:38 +0100 Subject: [PATCH] fix: fixed build failure --- public/app/features/dashboard/dashboardLoaderSrv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/dashboardLoaderSrv.js b/public/app/features/dashboard/dashboardLoaderSrv.js index 708e6b563e4..d5e257de665 100644 --- a/public/app/features/dashboard/dashboardLoaderSrv.js +++ b/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");