diff --git a/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js b/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js index 8915aee9f1..1ccf24e651 100644 --- a/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js +++ b/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js @@ -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')));