[v10.0.x] Dashboards: Fix undefined aria labels in Annotation Checkboxes for Programmatic Access (#68873)
Dashboards: Fix undefined aria labels in Annotation Checkboxes for Programmatic Access (#68050)
(cherry picked from commit 86ea0c2bc9)
Co-authored-by: Khushi Jain <57278642+khushijain21@users.noreply.github.com>
This commit is contained in:
co-authored by
Khushi Jain
parent
dba7dcb99d
commit
615641f095
@@ -51,6 +51,7 @@ export const AnnotationPicker = ({ annotation, events, onEnabledChanged }: Annot
|
||||
data-testid={selectors.pages.Dashboard.SubMenu.Annotations.annotationLabel(annotation.name)}
|
||||
>
|
||||
<InlineSwitch
|
||||
label={annotation.name}
|
||||
value={annotation.enable}
|
||||
onChange={() => onEnabledChanged(annotation)}
|
||||
disabled={loading}
|
||||
|
||||
Reference in New Issue
Block a user