summaryrefslogtreecommitdiff
path: root/frontend/app/common/form.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-16 16:38:07 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-16 16:38:07 +0100
commita9d86650f40a82a64d1fd8e0525c26422d314d3a (patch)
tree6afbd4a520f557b377096e6bb8a0838c0b725f7e /frontend/app/common/form.component.js
parent6e18c6e4ef6344f92fed99dad9c83484487c32d7 (diff)
make uploads like animism. start audio stuff
Diffstat (limited to 'frontend/app/common/form.component.js')
-rw-r--r--frontend/app/common/form.component.js2
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>