mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-app-usteer: fix bug introduced with ES6
fix bug introduced by ES6 treatment Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com>
This commit is contained in:
committed by
Paul Donald
parent
399b25c07e
commit
e057bac1ef
@@ -330,8 +330,14 @@ return view.extend({
|
||||
]);
|
||||
},
|
||||
|
||||
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')));
|
||||
|
||||
Reference in New Issue
Block a user