Fixed agent root update on web page.
This commit is contained in:
parent
1738a44ca8
commit
d7dee2c869
|
@ -1887,6 +1887,7 @@
|
||||||
if (message.event.node.agent.ver != null) { node.agent.ver = message.event.node.agent.ver; }
|
if (message.event.node.agent.ver != null) { node.agent.ver = message.event.node.agent.ver; }
|
||||||
if (message.event.node.agent.id != null) { node.agent.id = message.event.node.agent.id; }
|
if (message.event.node.agent.id != null) { node.agent.id = message.event.node.agent.id; }
|
||||||
if (message.event.node.agent.caps != null) { node.agent.caps = message.event.node.agent.caps; }
|
if (message.event.node.agent.caps != null) { node.agent.caps = message.event.node.agent.caps; }
|
||||||
|
if (message.event.node.agent.root != null) { node.agent.root = message.event.node.agent.root; }
|
||||||
if (message.event.node.agent.core != null) { node.agent.core = message.event.node.agent.core; } else { if (node.agent.core) { delete node.agent.core; } }
|
if (message.event.node.agent.core != null) { node.agent.core = message.event.node.agent.core; } else { if (node.agent.core) { delete node.agent.core; } }
|
||||||
node.agent.tag = message.event.node.agent.tag;
|
node.agent.tag = message.event.node.agent.tag;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2970,6 +2970,7 @@
|
||||||
if (message.event.node.agent.ver != null) { node.agent.ver = message.event.node.agent.ver; }
|
if (message.event.node.agent.ver != null) { node.agent.ver = message.event.node.agent.ver; }
|
||||||
if (message.event.node.agent.id != null) { node.agent.id = message.event.node.agent.id; }
|
if (message.event.node.agent.id != null) { node.agent.id = message.event.node.agent.id; }
|
||||||
if (message.event.node.agent.caps != null) { node.agent.caps = message.event.node.agent.caps; }
|
if (message.event.node.agent.caps != null) { node.agent.caps = message.event.node.agent.caps; }
|
||||||
|
if (message.event.node.agent.root != null) { node.agent.root = message.event.node.agent.root; }
|
||||||
if (message.event.node.agent.core != null) { node.agent.core = message.event.node.agent.core; } else { if (node.agent.core) { delete node.agent.core; } }
|
if (message.event.node.agent.core != null) { node.agent.core = message.event.node.agent.core; } else { if (node.agent.core) { delete node.agent.core; } }
|
||||||
node.agent.tag = message.event.node.agent.tag;
|
node.agent.tag = message.event.node.agent.tag;
|
||||||
}
|
}
|
||||||
|
@ -9987,7 +9988,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Storage
|
// Storage
|
||||||
if (hardware.identifiers && ident.storage_devices) {
|
if (hardware.identifiers && hardware.identifiers.storage_devices) {
|
||||||
var x = '';
|
var x = '';
|
||||||
// Sort Storage
|
// Sort Storage
|
||||||
ident.storage_devices.sort(function(a, b) { if (a.Caption > b.Caption) return 1; if (a.Caption < b.Caption) return -1; return 0; });
|
ident.storage_devices.sort(function(a, b) { if (a.Caption > b.Caption) return 1; if (a.Caption < b.Caption) return -1; return 0; });
|
||||||
|
|
Loading…
Reference in New Issue