Skip to content

Commit

Permalink
Display null annotator values correctly in the frontend (#3003)
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai authored Sep 18, 2024
1 parent 1f6f4b2 commit 629a958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-frontend/src/components/AnnotationsDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function dictAnnotationDisplay(
{Object.entries(dictAnnotation).map(([key, value]) => (
<div>
<h3 className="ml-1">{key}</h3>
<Preview value={value.toString()} />
<Preview value={value === null ? "null" : value.toString()} />
</div>
))}
</div>
Expand Down

0 comments on commit 629a958

Please sign in to comment.