1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

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 ab78620b32
commit 75bfa60231

View file

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