mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
changes to new urlformat for home dashboard (#10738)
This commit is contained in:
committed by
Torkel Ödegaard
parent
0701188e64
commit
cc0cc8dd73
@@ -9,7 +9,7 @@ export class LoadDashboardCtrl {
|
||||
if (!$routeParams.uid && !$routeParams.slug) {
|
||||
backendSrv.get('/api/dashboards/home').then(function(homeDash) {
|
||||
if (homeDash.redirectUri) {
|
||||
$location.path('dashboard/' + homeDash.redirectUri);
|
||||
$location.path(homeDash.redirectUri);
|
||||
} else {
|
||||
var meta = homeDash.meta;
|
||||
meta.canSave = meta.canShare = meta.canStar = false;
|
||||
|
Reference in New Issue
Block a user