Skip to content

Commit 2464bc5

Browse files
committed
add breadcrumb option to navigate to entity page
1 parent 0f595d8 commit 2464bc5

File tree

1 file changed

+7
-0
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ export default function OrgDashboardLayout({ children }: DashboardLayoutProps) {
4343
href: '/dashboard/user/datasets',
4444
label: 'User Dashboard',
4545
},
46+
{
47+
href: `/dashboard/${params.entityType}`,
48+
label:
49+
params.entityType === 'organization'
50+
? 'My Organizations'
51+
: 'My DataSpaces',
52+
},
4653
{
4754
href: '',
4855
label: `${params.entitySlug}`,

0 commit comments

Comments
 (0)