Skip to content

Commit

Permalink
Updated id attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 17, 2022
1 parent be7d6f2 commit 97cc723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/metadata/domain/source/component/SourceList.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function SourceList({ entities, onDelete, onEnable, onChangeGroup
{onEnable && canEnable ?
<Form.Check
type="switch"
id={`enable-switch-${source.id}`}
id={`enable-switch-${idx}`}
size="lg"
aria-label={translator(source.serviceEnabled ? 'label.disable' : 'label.enable')}
onChange={({ target: { checked } }) => onEnable(source, checked)}
Expand Down

0 comments on commit 97cc723

Please sign in to comment.