From a13e24dab0bb0af2854961d0b18c71831f07eae0 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Wed, 28 May 2025 02:33:44 -0600 Subject: [PATCH] refactor: simplify Chatwoot widget condition in dashboard layout for improved readability --- apps/dokploy/components/layouts/dashboard-layout.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/components/layouts/dashboard-layout.tsx b/apps/dokploy/components/layouts/dashboard-layout.tsx index 3b4b482b..4e2e15b3 100644 --- a/apps/dokploy/components/layouts/dashboard-layout.tsx +++ b/apps/dokploy/components/layouts/dashboard-layout.tsx @@ -15,7 +15,9 @@ export const DashboardLayout = ({ children }: Props) => { return ( <> {children} - {isCloud && } + {isCloud === true && ( + + )} {haveRootAccess === true && }