1
0

feat: allow creating a new project directly as a child project from another one

This commit is contained in:
kolaente
2023-04-14 18:18:03 +02:00
parent 9c3259c660
commit b34118485c
6 changed files with 55 additions and 14 deletions

View File

@ -237,6 +237,15 @@ const router = createRouter({
showAsModal: true,
},
},
{
path: '/projects/:parentProjectId/new',
name: 'project.createFromParent',
component: NewProjectComponent,
props: route => ({ parentProjectId: Number(route.params.parentProjectId as string) }),
meta: {
showAsModal: true,
},
},
{
path: '/projects/:projectId/settings/edit',
name: 'project.settings.edit',