Use proper id in htmlFor prop

pull/10616/head
Andrew Watkins 2018-07-12 08:41:50 -07:00
parent af0c92a37b
commit f5cb773e9e
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export class TaskRow extends PureComponent<TaskRowProps> {
checked={task.status === 'enabled'}
onChange={this.handleClickRuleStatusEnabled}
/>
<label htmlFor={`kapacitor-task-row-task-enabled ${task.name}`} />
<label htmlFor={`kapacitor-task-row-task-enabled ${task.id}`} />
</div>
</td>
<td style={{width: colActions}} className="text-right">