Plumb through total neighbor count from radio and expose that in the UI. Closes #310.

This commit is contained in:
Jack Kingsman
2026-07-08 14:09:08 -07:00
parent 7fe15d0fd4
commit a6c64279e8
5 changed files with 50 additions and 2 deletions
@@ -203,7 +203,13 @@ export function NeighborsPane({
return (
<RepeaterPane
title="Neighbors"
title={
!data
? 'Neighbors'
: data.reported_count != null && data.reported_count !== data.neighbors.length
? `Neighbors (${data.neighbors.length} of ${data.reported_count})`
: `Neighbors (${data.reported_count ?? data.neighbors.length})`
}
headerNote={headerNote}
state={state}
onRefresh={onRefresh}