mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-07 09:13:04 +02:00
Plumb through total neighbor count from radio and expose that in the UI. Closes #310.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user