mirror of
https://github.com/smittix/intercept.git
synced 2026-04-29 00:59:59 -07:00
Add debug logging for WiFi client card issues
Temporary console.log statements to diagnose why clients are not appearing in the device list. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4864,6 +4864,7 @@
|
||||
|
||||
// Handle discovered WiFi client (called from batched update)
|
||||
function handleWifiClientImmediate(client) {
|
||||
console.log('handleWifiClientImmediate:', client);
|
||||
const isNew = !wifiClients[client.mac];
|
||||
wifiClients[client.mac] = client;
|
||||
|
||||
@@ -5196,8 +5197,12 @@
|
||||
|
||||
// Add WiFi client card to device list
|
||||
function addWifiClientCard(client, isNew) {
|
||||
console.log('addWifiClientCard called:', client.mac, 'isNew:', isNew);
|
||||
const deviceList = document.getElementById('wifiDeviceListContent');
|
||||
if (!deviceList) return;
|
||||
if (!deviceList) {
|
||||
console.error('wifiDeviceListContent not found!');
|
||||
return;
|
||||
}
|
||||
|
||||
// Remove placeholder if present
|
||||
const placeholder = deviceList.querySelector('div[style*="text-align: center"]');
|
||||
|
||||
Reference in New Issue
Block a user