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> <p className="text-xs text-gray-500 dark:text-gray-400">{userInfo?.company}</p>
</DropdownMenuLabel> </DropdownMenuLabel>
<DropdownMenuSeparator /> <DropdownMenuSeparator />
<DropdownMenuItem> <DropdownMenuItem asChild>
<User className="h-4 w-4 mr-2" /> <Link href="/dashboard/account">
<span>Profil</span> <User className="h-4 w-4 mr-2" />
<span>Profil</span>
</Link>
</DropdownMenuItem> </DropdownMenuItem>
<DropdownMenuItem asChild> <DropdownMenuItem asChild>
<Link href="/dashboard/settings"> <Link href="/dashboard/settings">