diff --git a/public/app/features/dashboard/components/SubMenu/Annotations.tsx b/public/app/features/dashboard/components/SubMenu/Annotations.tsx index 5d950ea06c3..02967e42066 100644 --- a/public/app/features/dashboard/components/SubMenu/Annotations.tsx +++ b/public/app/features/dashboard/components/SubMenu/Annotations.tsx @@ -22,7 +22,7 @@ export const Annotations = ({ annotations, onAnnotationChanged, events }: Props) } return ( -
+
{visibleAnnotations.map((annotation) => ( ); }, [canEditAnnotations, canDeleteAnnotations, onAnnotationDelete, onAnnotationEdit, timeFormatter, annotation]); - const isRegionAnnotation = Boolean(annotation.isRegion) && width > MIN_REGION_ANNOTATION_WIDTH; let left = `${width / 2}px`; @@ -128,7 +127,7 @@ export function AnnotationMarker({ annotation, timeZone, width }: Props) { onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} className={!isRegionAnnotation ? styles.markerWrapper : undefined} - data-testId={selectors.pages.SoloPanel.Annotations.marker} + data-testid={selectors.pages.SoloPanel.Annotations.marker} > {marker}