diff --git a/panels/dashcontrol/module.js b/panels/dashcontrol/module.js index 8409062ed5e..afd7848eb82 100644 --- a/panels/dashcontrol/module.js +++ b/panels/dashcontrol/module.js @@ -112,7 +112,7 @@ angular.module('kibana.dashcontrol', []) $scope.file_load = function(file) { $http({ - url: "dashboards/default", + url: "dashboards/"+file, method: "GET", }).success(function(data, status, headers, config) { var dashboard = data diff --git a/panels/pie/module.js b/panels/pie/module.js index bd8128bbf07..fd4d2f6a1d9 100644 --- a/panels/pie/module.js +++ b/panels/pie/module.js @@ -246,7 +246,7 @@ angular.module('kibana.pie', []) show: scope.panel.labels, radius: 2/3, formatter: function(label, series){ - return '
'+ + return '
'+ label+'
'+Math.round(series.percent)+'%
'; }, threshold: 0.1 @@ -311,7 +311,6 @@ angular.module('kibana.pie', []) } }); - } }; }) \ No newline at end of file