Commit 3d48837c authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fix gadget definition

parent 3ba39968
......@@ -24,14 +24,16 @@
if (result.data.rows[i].value.root_slave !== 1) {
value = result.data.rows[i].id;
result.data.rows[i].value.monitoring_status = {
css_class: "",
description: "The Status",
hidden: 0,
"default": {jio_key: value},
key: "status",
url: "gadget_slapos_hosting_subscription_status.html",
title: "Status",
type: "GadgetField"
field_gadget_param : {
css_class: "",
description: "The Status",
hidden: 0,
"default": {jio_key: value},
key: "status",
url: "gadget_slapos_hosting_subscription_status.html",
title: "Status",
type: "GadgetField"
}
};
}
result.data.rows[i].value["listbox_uid:list"] = {
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>966.40247.37745.53862</string> </value>
<value> <string>972.32024.53732.34406</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1522772623.29</float>
<float>1552957541.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