Fix evil falsiness bug with frontend property settings checkboxes
This commit is contained in:
parent
fee942f4ec
commit
e3512353ac
|
@ -72,7 +72,7 @@
|
|||
|
||||
let temp = runtimeToReadableBinding(bindableProperties, value)
|
||||
|
||||
return !value && props.defaultValue !== undefined
|
||||
return value == null && props.defaultValue !== undefined
|
||||
? props.defaultValue
|
||||
: temp
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue