Commit 514de5fe authored by Rafael Monnerat's avatar Rafael Monnerat

Fixup compute node view (minor)

See merge request nexedi/slapos.core!582
parents 988b3fd0 07eecdde
Pipeline #31669 failed with stage
in 0 seconds
......@@ -28,7 +28,7 @@
.push(function (result) {
var i, value, value_jio_key, len = result.data.total_rows;
for (i = 0; i < len; i += 1) {
if (1 || (result.data.rows[i].value.getAccessStatus)) {
if (result.data.rows[i].value.getAccessStatus) {
value = result.data.rows[i].value.getAccessStatus;
value_jio_key = result.data.rows[i].id;
result.data.rows[i].value.getAccessStatus = {
......@@ -192,15 +192,14 @@
if (!supported_allocation_scope_list.includes(
gadget.state.doc.allocation_scope
) && hidden_allocation_scope.keys().includes(
gadget.state.doc.allocation_scope
)) {
) && (hidden_allocation_scope.hasOwnProperty(gadget.state.doc.allocation_scope))) {
allocation_scope_list.push(
[hidden_allocation_scope[gadget.state.doc.allocation_scope],
gadget.state.doc.allocation_scope
]
);
}
return form_gadget.render({
erp5_document: {
"_embedded": {"_view": {
......
......@@ -267,7 +267,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1010.39674.54022.30344</string> </value>
<value> <string>1010.39762.20916.26709</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -287,7 +287,7 @@
</tuple>
<state>
<tuple>
<float>1692648139.06</float>
<float>1700505669.56</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