Fix checkboxes in NestsContainer.tsx
This commit is contained in:
parent
f72402b5fa
commit
04799fa44b
2 changed files with 4 additions and 8 deletions
|
@ -23,9 +23,9 @@ const RowCheckbox = ({ id }: { id: number}) => {
|
|||
checked={isChecked}
|
||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
if (e.currentTarget.checked) {
|
||||
appendSelectedNest(name);
|
||||
appendSelectedNest(id);
|
||||
} else {
|
||||
removeSelectedNest(name);
|
||||
removeSelectedNest(id);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue