mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashboardPage: Makes slug parameter optional (#33902)
This commit is contained in:
parent
2633f245ba
commit
184242dba0
@ -24,15 +24,7 @@ export function getAppRoutes(): RouteDescriptor[] {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/d/:uid/:slug',
|
path: '/d/:uid/:slug?',
|
||||||
pageClass: 'page-dashboard',
|
|
||||||
routeName: DashboardRoutes.Normal,
|
|
||||||
component: SafeDynamicImport(
|
|
||||||
() => import(/* webpackChunkName: "DashboardPage" */ '../features/dashboard/containers/DashboardPage')
|
|
||||||
),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/d/:uid',
|
|
||||||
pageClass: 'page-dashboard',
|
pageClass: 'page-dashboard',
|
||||||
routeName: DashboardRoutes.Normal,
|
routeName: DashboardRoutes.Normal,
|
||||||
component: SafeDynamicImport(
|
component: SafeDynamicImport(
|
||||||
|
Loading…
Reference in New Issue
Block a user