Skip to content

Commit 7e07062

Browse files
authored
Merge pull request #1411 from gentslava/canary
fix: breadcrumbs UX
2 parents b2c0a68 + b0c710a commit 7e07062

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

apps/dokploy/components/dashboard/project/add-template.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,8 @@ export const AddTemplate = ({ projectId }: Props) => {
383383
side="top"
384384
>
385385
<span>
386-
If ot server is selected, the application
387-
will be deployed on the server where the
388-
user is logged in.
386+
If no server is selected, the application will be
387+
deployed on the server where the user is logged in.
389388
</span>
390389
</TooltipContent>
391390
</Tooltip>

apps/dokploy/components/layouts/side.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,10 +1055,6 @@ export default function Page({ children }: Props) {
10551055
</Link>
10561056
</BreadcrumbLink>
10571057
</BreadcrumbItem>
1058-
<BreadcrumbSeparator className="block" />
1059-
<BreadcrumbItem>
1060-
<BreadcrumbPage>{activeItem?.title}</BreadcrumbPage>
1061-
</BreadcrumbItem>
10621058
</BreadcrumbList>
10631059
</Breadcrumb>
10641060
</div>

apps/dokploy/components/shared/breadcrumb-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const BreadcrumbSidebar = ({ list }: Props) => {
3737
)}
3838
</BreadcrumbLink>
3939
</BreadcrumbItem>
40-
<BreadcrumbSeparator className="block" />
40+
{_index + 1 < list.length && <BreadcrumbSeparator className="block" />}
4141
</Fragment>
4242
))}
4343
</BreadcrumbList>

0 commit comments

Comments
 (0)