Skip to content

Commit

Permalink
fix: Make annotation in list clickable (#18859)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite authored Nov 27, 2023
1 parent c5193a6 commit e7ebd2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Binary file modified frontend/__snapshots__/scenes-app-annotations--annotations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion frontend/src/scenes/annotations/Annotations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ export function Annotations(): JSX.Element {
key: 'annotation',
width: '30%',
render: function RenderAnnotation(_, annotation: AnnotationType): JSX.Element {
return <div className="ph-no-capture">{annotation.content}</div>
return (
<div className="ph-no-capture font-semibold">
<Link subtle to={urls.annotation(annotation.id)}>
{annotation.content}
</Link>
</div>
)
},
},
{
Expand Down

0 comments on commit e7ebd2f

Please sign in to comment.