Annotations: fixes reversed switch (#33362)
This commit is contained in:
1 parent
cf2d557974
commit
ba2fa3434e
1 file changed
+1
-1
@@ -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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user