Skip to content

Commit

Permalink
feat(ui): Add workflow alias to workbench navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Dec 28, 2024
1 parent 4948349 commit 0cd5b15
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion frontend/src/components/nav/workbench-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,17 @@ export function WorkbenchNav() {
<BreadcrumbSeparator className="shrink-0 font-semibold">
{"/"}
</BreadcrumbSeparator>
<BreadcrumbItem>{workflow.title}</BreadcrumbItem>
<BreadcrumbItem>
<span>{workflow.title}</span>
{workflow.alias && (
<Badge
variant="secondary"
className="font-mono text-xs font-normal tracking-tighter text-muted-foreground hover:cursor-default"
>
{workflow.alias}
</Badge>
)}
</BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>
</div>
Expand Down

0 comments on commit 0cd5b15

Please sign in to comment.