Use proper id in htmlFor prop
parent
af0c92a37b
commit
f5cb773e9e
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue