Fixed loading path for home dashboard
This commit is contained in:
@@ -12,7 +12,7 @@ function (angular) {
|
|||||||
var db = datasourceSrv.getGrafanaDB();
|
var db = datasourceSrv.getGrafanaDB();
|
||||||
|
|
||||||
if (!$routeParams.id) {
|
if (!$routeParams.id) {
|
||||||
backendSrv.get('api/dashboards/home').then(function(result) {
|
backendSrv.get('/api/dashboards/home').then(function(result) {
|
||||||
$scope.initDashboard(result, $scope);
|
$scope.initDashboard(result, $scope);
|
||||||
},function() {
|
},function() {
|
||||||
$scope.initDashboard({}, $scope);
|
$scope.initDashboard({}, $scope);
|
||||||
|
|||||||
Reference in New Issue
Block a user