mirror of
https://github.com/smittix/intercept.git
synced 2026-07-09 18:18:12 -07:00
Fix card rendering - use string concat instead of template literals
- Change card HTML generation from template literals to string concatenation - This avoids potential issues with special characters in device data - Also disable legacy handleBtDeviceImmediate when BluetoothMode exists - Use device_id as fallback name if name is missing Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6090,6 +6090,11 @@
|
||||
|
||||
// Handle discovered Bluetooth device (called from batched update)
|
||||
function handleBtDeviceImmediate(device) {
|
||||
// Skip if new BluetoothMode is handling devices
|
||||
if (typeof BluetoothMode !== 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
const isNew = !btDevices[device.mac];
|
||||
|
||||
// Check for Find My network
|
||||
|
||||
Reference in New Issue
Block a user