modules/admin-full: fix "No information available" in admin status assoclist
[project/luci.git] / modules / admin-full / luasrc / view / admin_status / index.htm
index f6432ef..16cd32a 100644 (file)
@@ -409,7 +409,7 @@ $Id$
                                                tr.insertCell(-1).innerHTML = String.format('%d dBm', assoclist[i].noise);
                                        }
 
-                                       if (ac.rows.length == 0)
+                                       if (ac.rows.length == 1)
                                        {
                                                var tr = ac.rows[0].parentNode.insertRow(-1);
                                                    tr.className = 'cbi-section-table-row';