Skip to content

Commit

Permalink
Updates thumbs up/thumbs down icon to now show up if it's null
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Oct 27, 2024
1 parent 82bc18b commit da8da99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telemetry/ui/src/components/routes/app/AnnotationsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ const ObservationsView = (props: { observations: AnnotationObservation[] }) => {
className={`flex flex-col gap-1 ${i === observationsToShow.length - 1 ? '' : 'border-b-2'} border-gray-100`}
>
<div className={`flex flex-row gap-2 max-w-full items-baseline `}>
{observation.thumbs_up_thumbs_down !== undefined && (
{observation.thumbs_up_thumbs_down !== null && (
<div className="translate-y-1">
<Icon className={iconColor} size={16} />
</div>
Expand Down

0 comments on commit da8da99

Please sign in to comment.