We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37d059e commit 4d6b020Copy full SHA for 4d6b020
1 file changed
src/components/breadcrumbs.tsx
@@ -65,7 +65,9 @@ function getBreadcrumbLink(value: StacValue) {
65
66
return collectionLink && collectionLink.href !== selfLink?.href ? (
67
<BreadcrumbLink link={collectionLink} />
68
- ) : parentLink && parentLink.href !== rootLink?.href && parentLink.href !== selfLink?.href ? (
+ ) : parentLink &&
69
+ parentLink.href !== rootLink?.href &&
70
+ parentLink.href !== selfLink?.href ? (
71
<BreadcrumbLink link={parentLink} />
72
) : (
73
rootLink &&
0 commit comments