diff --git a/apps/dokploy/components/dashboard/projects/show.tsx b/apps/dokploy/components/dashboard/projects/show.tsx index e92ec280bd..7b5797b451 100644 --- a/apps/dokploy/components/dashboard/projects/show.tsx +++ b/apps/dokploy/components/dashboard/projects/show.tsx @@ -169,11 +169,6 @@ export const ShowProjects = () => { - {!isCloud && ( -
- -
- )}
diff --git a/apps/dokploy/components/layouts/side.tsx b/apps/dokploy/components/layouts/side.tsx index d9f995c568..6a0f9de19a 100644 --- a/apps/dokploy/components/layouts/side.tsx +++ b/apps/dokploy/components/layouts/side.tsx @@ -545,6 +545,7 @@ function SidebarLogo() { const { mutateAsync: setDefaultOrganization, isPending: isSettingDefault } = api.organization.setDefault.useMutation(); const { isMobile } = useSidebar(); + const isCollapsed = state === "collapsed" && !isMobile; const { data: activeOrganization } = api.organization.active.useQuery(); const { data: invitations, refetch: refetchInvitations } = @@ -570,9 +571,7 @@ function SidebarLogo() { {/* Organization Logo and Selector */} @@ -580,17 +579,17 @@ function SidebarLogo() {
@@ -610,7 +609,7 @@ function SidebarLogo() {

@@ -619,7 +618,7 @@ function SidebarLogo() {

@@ -768,7 +767,7 @@ function SidebarLogo() { {/* Notification Bell */} - +
)} {dokployVersion && ( - <> -
- Version {dokployVersion} -
-
- {dokployVersion} -
- +
+ Version {dokployVersion} +
)}
diff --git a/apps/dokploy/components/shared/breadcrumb-sidebar.tsx b/apps/dokploy/components/shared/breadcrumb-sidebar.tsx index 9ba28850cf..16b185e0f1 100644 --- a/apps/dokploy/components/shared/breadcrumb-sidebar.tsx +++ b/apps/dokploy/components/shared/breadcrumb-sidebar.tsx @@ -17,6 +17,8 @@ import { } from "@/components/ui/dropdown-menu"; import { Separator } from "@/components/ui/separator"; import { SidebarTrigger } from "@/components/ui/sidebar"; +import { TimeBadge } from "@/components/ui/time-badge"; +import { api } from "@/utils/api"; interface BreadcrumbEntry { name: string; @@ -32,9 +34,11 @@ interface Props { } export const BreadcrumbSidebar = ({ list }: Props) => { + const { data: isCloud } = api.settings.isCloud.useQuery(); + return (
-
+
@@ -75,6 +79,7 @@ export const BreadcrumbSidebar = ({ list }: Props) => {
+ {!isCloud && }
); diff --git a/apps/dokploy/components/ui/sidebar.tsx b/apps/dokploy/components/ui/sidebar.tsx index bb9d940a1c..bca3e2b3ea 100644 --- a/apps/dokploy/components/ui/sidebar.tsx +++ b/apps/dokploy/components/ui/sidebar.tsx @@ -213,7 +213,9 @@ const Sidebar = React.forwardRef< } side={side} > -
{children}
+
+ {children} +
); @@ -412,7 +414,7 @@ const SidebarContent = React.forwardRef< ref={ref} data-sidebar="content" className={cn( - "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden", + "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-y-auto", className, )} {...props}