Fix evil falsiness bug with frontend property settings checkboxes

This commit is contained in:
Andrew Kingston 2020-11-03 09:39:42 +00:00
parent fee942f4ec
commit e3512353ac
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@
let temp = runtimeToReadableBinding(bindableProperties, value) let temp = runtimeToReadableBinding(bindableProperties, value)
return !value && props.defaultValue !== undefined return value == null && props.defaultValue !== undefined
? props.defaultValue ? props.defaultValue
: temp : temp
} }