From 52ea9ffa670cd4a799c39a23c496dc2e77c8abe6 Mon Sep 17 00:00:00 2001 From: Rahadi Jalu Date: Fri, 24 Jan 2025 15:05:02 +0700 Subject: [PATCH] fix(ui): add condition to show update server button to admin only --- apps/dokploy/components/layouts/side.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/components/layouts/side.tsx b/apps/dokploy/components/layouts/side.tsx index c711b862..559fe182 100644 --- a/apps/dokploy/components/layouts/side.tsx +++ b/apps/dokploy/components/layouts/side.tsx @@ -783,7 +783,7 @@ export default function Page({ children }: Props) { ))} - {!isCloud && ( + {!isCloud && auth?.rol === "admin" && (