mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboards: Fix undefined aria labels in Annotation Checkboxes for Programmatic Access (#68050)
This commit is contained in:
parent
e6c8ba56c8
commit
86ea0c2bc9
@ -51,6 +51,7 @@ export const AnnotationPicker = ({ annotation, events, onEnabledChanged }: Annot
|
|||||||
data-testid={selectors.pages.Dashboard.SubMenu.Annotations.annotationLabel(annotation.name)}
|
data-testid={selectors.pages.Dashboard.SubMenu.Annotations.annotationLabel(annotation.name)}
|
||||||
>
|
>
|
||||||
<InlineSwitch
|
<InlineSwitch
|
||||||
|
label={annotation.name}
|
||||||
value={annotation.enable}
|
value={annotation.enable}
|
||||||
onChange={() => onEnabledChanged(annotation)}
|
onChange={() => onEnabledChanged(annotation)}
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
Loading…
Reference in New Issue
Block a user