fix: route to create new project

This commit is contained in:
kolaente 2023-03-25 14:29:00 +01:00
parent e1bdabc8d6
commit a5e710bfe5
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ const router = createRouter({
component: ListProjects, component: ListProjects,
}, },
{ {
path: '/projects/new/:namespaceId/', path: '/projects/new',
name: 'project.create', name: 'project.create',
component: NewProjectComponent, component: NewProjectComponent,
meta: { meta: {

View File

@ -10,7 +10,7 @@
{{ $t('filters.create.title') }} {{ $t('filters.create.title') }}
</x-button> </x-button>
<x-button :to="{name: 'project.create'}" icon="plus" v-cy="'new-project'"> <x-button :to="{name: 'project.create'}" icon="plus" v-cy="'new-project'">
{{ $t('project.create.title') }} {{ $t('project.create.header') }}
</x-button> </x-button>
</div> </div>
</header> </header>