Add a link to the account page in the dropdown menu

This commit is contained in:
omaroughriss 2025-11-13 16:51:52 +01:00
parent 726f34cd54
commit 18a126aac5

View File

@ -206,9 +206,11 @@ function DashboardLayoutContent({ children }: { children: React.ReactNode }) {
<p className="text-xs text-gray-500 dark:text-gray-400">{userInfo?.company}</p>
</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuItem>
<User className="h-4 w-4 mr-2" />
<span>Profil</span>
<DropdownMenuItem asChild>
<Link href="/dashboard/account">
<User className="h-4 w-4 mr-2" />
<span>Profil</span>
</Link>
</DropdownMenuItem>
<DropdownMenuItem asChild>
<Link href="/dashboard/settings">