fix bug introduced by ES6 treatment
Signed-off-by: Ramon Van Gorkom <redacted>
]);
},
- poll_status(nodes, [Hosts, Remotehosts, Remoteinfo, Localinfo, Clients]) {
-
+ poll_status(nodes, data) {
+
+ Hosts = data[1];
+ Remotehosts = data[2];
+ Remoteinfo = data[3];
+ Localinfo = data[4];
+ Clients = data[5];
+
const remotehosttableentries = [];
collectRemoteHosts(remotehosttableentries,Remotehosts);
cbi_update_table(nodes.querySelector('#remotehost_table'), remotehosttableentries, E('em', _('No data')));