Commit b1810b11 authored by Roque's avatar Roque

erp5_officejs_appstore_base: fix metadata gadget

parent de0d6923
......@@ -5,7 +5,7 @@
rJS(window)
.declareMethod('render', function (options) {
var value = "Not found";
if (options.metadata.message) {
if (options.metadata && options.metadata.message) {
value = options.metadata.message;
}
return this.changeState({
......
......@@ -250,7 +250,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>993.44770.2736.1450</string> </value>
<value> <string>995.56439.17254.23500</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -268,7 +268,7 @@
</tuple>
<state>
<tuple>
<float>1627311703.47</float>
<float>1637068275.9</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