mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Annotations: fixes reversed switch (#33362)
This commit is contained in:
parent
cf2d557974
commit
ba2fa3434e
@ -23,7 +23,7 @@ export const Annotations: FunctionComponent<Props> = ({ annotations, onAnnotatio
|
||||
return (
|
||||
<div key={annotation.name} className={'submenu-item'}>
|
||||
<InlineField label={annotation.name}>
|
||||
<InlineSwitch checked={annotation.enable} onChange={() => onAnnotationChanged(annotation)} />
|
||||
<InlineSwitch value={annotation.enable} onChange={() => onAnnotationChanged(annotation)} />
|
||||
</InlineField>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user