forked from vikunja/frontend
redirect to first list
This commit is contained in:
parent
90ef2b13a9
commit
80ba017a74
|
@ -84,6 +84,11 @@ const router = createRouter({
|
||||||
path: '/',
|
path: '/',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: HomeComponent,
|
component: HomeComponent,
|
||||||
|
// TODO_OFFLINE don't redirect when there's actually something useful on the home page
|
||||||
|
redirect: {
|
||||||
|
name: 'project.index',
|
||||||
|
params: { projectId: 1 },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/:pathMatch(.*)*',
|
path: '/:pathMatch(.*)*',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user