mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add name to routes with empty path (#16174)
* add name to routes with empty path * use same naming convention for redirects
This commit is contained in:
@@ -10,10 +10,12 @@ export default defineModule({
|
||||
icon: 'help_outline',
|
||||
routes: [
|
||||
{
|
||||
name: 'docs-routes',
|
||||
path: '',
|
||||
component: StaticDocs,
|
||||
children: [
|
||||
{
|
||||
name: 'docs-app-overview-redirect',
|
||||
path: '',
|
||||
redirect: '/docs/app/overview',
|
||||
},
|
||||
|
||||
@@ -31,6 +31,7 @@ export default defineModule({
|
||||
color: 'var(--primary)',
|
||||
routes: [
|
||||
{
|
||||
name: 'settings-data-model-redirect',
|
||||
path: '',
|
||||
redirect: '/settings/data-model',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user