Fix evil falsiness bug with frontend property settings checkboxes
This commit is contained in:
parent
ab78620b32
commit
75bfa60231
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue