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

Function loadWardrivingTableByType

web/scripts/ragnar_modern.js:18133–18145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18131 if (!wrapper || !buttonsContainer) {
18132 return;
18133 }
18134
18135 const interfaces = state && Array.isArray(state.interfaces)
18136 ? state.interfaces.filter(entry => entry && entry.name)
18137 : [];
18138 const eligible = interfaces.filter(entry => entry.connected && entry.connected_ssid);
18139
18140 buttonsContainer.innerHTML = '';
18141 if (eligible.length <= 1) {
18142 wrapper.classList.add('hidden');
18143 return;
18144 }
18145
18146 wrapper.classList.remove('hidden');
18147 const activeInterface = getActiveWifiInterface();
18148

Callers 2

loadWardrivingDataFunction · 0.70
refreshWardrivingStatusFunction · 0.70

Calls 4

loadWardrivingNetworksFunction · 0.70
_loadWardrivingBluetoothFunction · 0.70
_loadWardrivingCellTableFunction · 0.70
_loadWardrivingCamerasFunction · 0.70

Tested by

no test coverage detected