fix(KAN-14): preserve template inheritance and project data
This commit is contained in:
@@ -18,7 +18,7 @@ import { useFormProtection } from '@/composables/useFormProtection';
|
||||
import { useLocalization } from '@/composables/useLocalization';
|
||||
import { useProjectTemplateAreas } from '@/composables/useProjectTemplateAreas';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
import { destroy, edit, index } from '@/routes/project-templates';
|
||||
import { destroy, edit, index, create } from '@/routes/project-templates';
|
||||
import {
|
||||
create as createProject,
|
||||
index as projectsIndex,
|
||||
@@ -80,9 +80,9 @@ function removeTemplate(): void {
|
||||
</p>
|
||||
</div>
|
||||
<Button as-child class="shrink-0"
|
||||
><Link :href="createProject()"
|
||||
><Link :href="create()"
|
||||
><Plus aria-hidden="true" />{{
|
||||
t('projects.create')
|
||||
t('templates.createEmpty')
|
||||
}}</Link
|
||||
></Button
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user