Skip to content

Commit 38b2d02

Browse files
committed
fix(unity-react-core): "Current Page" Text State Change to Plain Text
1 parent b413f95 commit 38b2d02

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/unity-react-core/src/components/Breadcrumbs/Breadcrumbs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const Breadcrumbs: React.FC<BreadcrumbsProps> = ({
3131
className={cx("breadcrumb-item", { active: item.active })}
3232
key={item.href}
3333
>
34-
{ item.active ?
35-
<span>{item.label}</span> :
36-
<a href={item.href}>{item.label}</a>
34+
{
35+
/* UDS-1851 - active page should not be link */
36+
item.active ? <span>{item.label}</span> : <a href={item.href}>{item.label}</a>
3737
}
3838
</li>
3939
))}

0 commit comments

Comments
 (0)