static platform minor update

parent 324a84d5
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
default_value = properties_dict[sub_title].default; default_value = properties_dict[sub_title].default;
// find previous value if any // find previous value if any
if (gadget.props.options.value[prop_name]) { if (gadget.props.options.value[prop_name]) {
if (gadget.props.options.value[prop_name][sub_title]) { if (gadget.props.options.value[prop_name][sub_title] || gadget.props.options.value[prop_name][sub_title] === "") {
previous_value = gadget.props.options.value[prop_name][sub_title]; previous_value = gadget.props.options.value[prop_name][sub_title];
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment