mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: simplify Chatwoot widget condition in dashboard layout for improved readability
This commit is contained in:
@@ -15,7 +15,9 @@ export const DashboardLayout = ({ children }: Props) => {
|
||||
return (
|
||||
<>
|
||||
<Page>{children}</Page>
|
||||
{isCloud && <ChatwootWidget websiteToken="USCpQRKzHvFMssf3p6Eacae5" />}
|
||||
{isCloud === true && (
|
||||
<ChatwootWidget websiteToken="USCpQRKzHvFMssf3p6Eacae5" />
|
||||
)}
|
||||
|
||||
{haveRootAccess === true && <ImpersonationBar />}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user