Skip to content

Commit

Permalink
Merged in bugfix/provider-enable (pull request #523)
Browse files Browse the repository at this point in the history
Fixed provider enable toggle switch
  • Loading branch information
rmathis committed Sep 7, 2021
2 parents dca464f + 3b69c8c commit 6fc8f48
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 6fc8f48

Please sign in to comment.