MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / typeLabel

Function typeLabel

web/scripts/ragnar_modern.js:2123–2127  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

2121// in-page table and the full-screen console).
2122function _wifiFilterAps(q, std, issuesOnly) {
2123 const d = _wifiState.data; if (!d) return [];
2124 q = (q || '').toLowerCase();
2125 const aps = d.aps.filter(a =>
2126 (!q || (a.ssid || '').toLowerCase().includes(q) || (a.vendor || '').toLowerCase().includes(q) || a.bssid.includes(q))
2127 && (!issuesOnly || (a.security_findings && a.security_findings.length))
2128 && (!std || a.standard === std));
2129 const k = _wifiState.sortKey || 'signal', dir = _wifiState.sortDir || -1;
2130 return aps.slice().sort((x, y) => {

Callers 1

loadInterfacesFunction · 0.85

Calls 1

escapeHtmlFunction · 0.70

Tested by

no test coverage detected