Skip to content

Commit b166cd5

Browse files
committed
refactor: add settings page to user nav
1 parent 0045608 commit b166cd5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

apps/dokploy/components/layouts/user-nav.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,17 @@ export const UserNav = () => {
149149
Servers
150150
</DropdownMenuItem>
151151
)}
152+
153+
{data?.rol === "admin" && (
154+
<DropdownMenuItem
155+
className="cursor-pointer"
156+
onClick={() => {
157+
router.push("/dashboard/settings");
158+
}}
159+
>
160+
Settings
161+
</DropdownMenuItem>
162+
)}
152163
</>
153164
)}
154165
</DropdownMenuGroup>

apps/dokploy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dokploy",
3-
"version": "v0.17.3",
3+
"version": "v0.17.4",
44
"private": true,
55
"license": "Apache-2.0",
66
"type": "module",

0 commit comments

Comments
 (0)