Skip to content

Commit

Permalink
Fixed provider enable toggle switch
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 3, 2021
1 parent b5aaf82 commit 3b69c8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function ProviderList({ entities, reorder = true, first, last, onEnable,
<Form.Check
size="lg"
type="switch"
id="custom-switch"
id={`enable-switch-${provider.resourceId}`}
aria-label={translator(provider.enabled ? 'label.disable' : 'label.enable')}
onChange={({ target: { checked } }) => onEnable(provider, checked)}
checked={provider.enabled}
Expand Down

0 comments on commit 3b69c8c

Please sign in to comment.