Skip to content

Commit

Permalink
feat: display breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Mar 21, 2024
1 parent 50ed3dd commit 130ab39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/header/SearchUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const Hit = ({ hit }) => (
<Highlight attribute="content.html_content" hit={hit} />
<Highlight attribute="content.capa_content" hit={hit} />
</div>
<div style={{fontSize: "8px"}}>{hit.breadcrumbs.map((bc, i) => <span key={i}>{bc.display_name} {i !== hit.breadcrumbs.length - 1 ? '>' : ''} </span>)}</div>
</div>
);

Expand Down

0 comments on commit 130ab39

Please sign in to comment.