From e43b907a8dfd720044ad2a4016268cc535d87b32 Mon Sep 17 00:00:00 2001 From: Khiet Tam Nguyen Date: Tue, 4 Mar 2025 22:42:04 +1100 Subject: [PATCH] feat(ui): move profile to first item in account dropdown --- apps/dokploy/components/layouts/user-nav.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/dokploy/components/layouts/user-nav.tsx b/apps/dokploy/components/layouts/user-nav.tsx index 4a9624de..85cb96f3 100644 --- a/apps/dokploy/components/layouts/user-nav.tsx +++ b/apps/dokploy/components/layouts/user-nav.tsx @@ -72,6 +72,14 @@ export const UserNav = () => { + { + router.push("/dashboard/settings/profile"); + }} + > + Profile + { @@ -126,14 +134,6 @@ export const UserNav = () => { ) : ( <> - { - router.push("/dashboard/settings/profile"); - }} - > - Profile - {data?.role === "owner" && (