Commit f5bcbb52 authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Jérome Perrin

static platform minor update

parent 362f3546
...@@ -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