diff --git a/ui/src/shared/components/AnnotationTooltip.tsx b/ui/src/shared/components/AnnotationTooltip.tsx index c9c2b5eed..b227344c8 100644 --- a/ui/src/shared/components/AnnotationTooltip.tsx +++ b/ui/src/shared/components/AnnotationTooltip.tsx @@ -63,7 +63,7 @@ const AnnotationTooltip: FunctionComponent = props => {
{annotation.text} - {!isUsingAuth || isUserAuthorized(me, VIEWER_ROLE) ? ( + {!isUsingAuth || isUserAuthorized(me.role, VIEWER_ROLE) ? (