Commit ff94ba2a authored by Tomáš Peterka's avatar Tomáš Peterka

[renderjs_ui] Better Header gadget backward compatibility

parent 7d30b330
......@@ -285,7 +285,8 @@
// find the right right icon
if (gadget.state.modified) {
default_right_icon = "warning";
} else if (gadget.state.error || !gadget.state.loaded || !gadget.state.submitted) {
}
if (gadget.state.error || !gadget.state.loaded || !gadget.state.submitted) {
default_right_icon = "ui-disabled";
}
// render the right right thing
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.62417.49864.24661</string> </value>
<value> <string>961.62564.2001.54681</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1504876524.45</float>
<float>1504882942.48</float>
<string>UTC</string>
</tuple>
</state>
......
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