Skip to content

Commit 7e02f22

Browse files
committed
move Usecases from manage to dashboard
1 parent 9f48cf4 commit 7e02f22

File tree

6 files changed

+8
-2
lines changed

6 files changed

+8
-2
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/layout.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ export default function OrgDashboardLayout({ children }: DashboardLayoutProps) {
5050
href: `/dashboard/${params.entityType}/${params.entitySlug}/consumers`,
5151
icon: 'userList',
5252
},
53+
{
54+
title: 'UseCases',
55+
href: `/dashboard/${params.entityType}/${params.entitySlug}/usecases`,
56+
icon: 'userList',
57+
}
5358
];
5459

5560
return (

app/[locale]/manage/usecases/edit/[id]/assign/page.tsx renamed to app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/assign/page.tsx

File renamed without changes.

app/[locale]/manage/usecases/edit/[id]/details/page.tsx renamed to app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/details/page.tsx

File renamed without changes.

app/[locale]/manage/usecases/edit/[id]/publish/page.tsx renamed to app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/[id]/publish/page.tsx

File renamed without changes.

app/[locale]/manage/usecases/edit/layout.tsx renamed to app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/edit/layout.tsx

File renamed without changes.

app/[locale]/manage/usecases/page.tsx renamed to app/[locale]/dashboard/[entityType]/[entitySlug]/usecases/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ import { GraphQL } from '@/lib/api';
1212
import { Icons } from '@/components/icons';
1313
import { LinkButton } from '@/components/Link';
1414
import { Loading } from '@/components/loading';
15-
import { ActionBar } from '../../dashboard/[entityType]/[entitySlug]/dataset/components/action-bar';
16-
import { Navigation } from '../../dashboard/[entityType]/[entitySlug]/dataset/components/navigate-org-datasets';
15+
import { Navigation } from '../dataset/components/navigate-org-datasets';
16+
import { ActionBar } from '../dataset/components/action-bar';
17+
1718

1819
const allUseCases: any = graphql(`
1920
query UseCasesData($filters: UseCaseFilter, $order: UseCaseOrder) {

0 commit comments

Comments
 (0)