feat: overhaul project workspace navigation
This commit is contained in:
@@ -15,10 +15,8 @@ import {
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import AppLayout from '@/layouts/AppLayout.vue';
|
||||
import {
|
||||
index as projectsIndex,
|
||||
show as projectShow,
|
||||
} from '@/routes/projects/index';
|
||||
import { index as projectsIndex } from '@/routes/projects/index';
|
||||
import { index as projectBoard } from '@/routes/projects/board';
|
||||
import {
|
||||
create as projectTemplateCreate,
|
||||
store as projectTemplateStore,
|
||||
@@ -34,7 +32,7 @@ const breadcrumbs: BreadcrumbItem[] = [
|
||||
},
|
||||
{
|
||||
title: props.project.name,
|
||||
href: projectShow(props.project.id),
|
||||
href: projectBoard(props.project.id),
|
||||
},
|
||||
{
|
||||
title: 'Save as new template',
|
||||
@@ -161,7 +159,7 @@ const submit = (): void => {
|
||||
</Button>
|
||||
|
||||
<Button as-child variant="outline">
|
||||
<Link :href="projectShow(project.id)"
|
||||
<Link :href="projectBoard(project.id)"
|
||||
>Cancel</Link
|
||||
>
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user