diff options
Diffstat (limited to 'frontend/app/common/form.component.js')
| -rw-r--r-- | frontend/app/common/form.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/app/common/form.component.js b/frontend/app/common/form.component.js index cf3e466..927b89d 100644 --- a/frontend/app/common/form.component.js +++ b/frontend/app/common/form.component.js @@ -76,7 +76,7 @@ export const Checkbox = props => ( type="checkbox" name={props.name} value={1} - checked={props.checked} + checked={!!props.checked} onChange={(e) => props.onChange(props.name, e.target.checked)} /> <span>{props.label}</span> |
