fix: show BSSID and sources in recon association tooltip

This commit is contained in:
2026-08-21 08:46:19 -05:00
parent 883a839692
commit 86d26d8457
@@ -996,8 +996,13 @@ function associationSummary(associations) {
function associationCell(associations) {
const summary = associationSummary(associations);
const full = (associations || []).map((a) => a && a.ssid).filter(Boolean)
.filter((ssid, i, all) => all.indexOf(ssid) === i).join(', ');
const full = (associations || []).map((a) => {
if (!a || !a.ssid) return null;
const parts = [a.ssid];
if (a.bssid) parts.push(a.bssid);
if (a.sources && a.sources.length) parts.push('[' + a.sources.join(', ') + ']');
return parts.join(' ');
}).filter(Boolean).join('; ');
return h('span', { title: full || summary, text: summary });
}