Annotations: fixes reversed switch (#33362)

pull/33298/head^2
Hugo Häggmark 4 years ago committed by GitHub
parent cf2d557974
commit ba2fa3434e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/app/features/dashboard/components/SubMenu/Annotations.tsx

@ -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…
Cancel
Save