mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
only show hops and snr in announce list if heard directly
This commit is contained in:
parent
bc6d8fada1
commit
0bd9accf24
1 changed files with 3 additions and 6 deletions
|
|
@ -97,12 +97,9 @@
|
|||
{{ formatTimeAgo(peer.updated_at) }}
|
||||
</span>
|
||||
|
||||
<!-- hops away -->
|
||||
<span v-if="peer.hops != null && peer.hops !== 128" class="flex my-auto text-sm text-gray-500 space-x-1">
|
||||
<span>•</span>
|
||||
<span v-if="peer.hops === 0">Direct</span>
|
||||
<span v-else-if="peer.hops === 1">1 Hop</span>
|
||||
<span v-else>{{ peer.hops }} Hops</span>
|
||||
<!-- hops away (only shown for peers heard directly) -->
|
||||
<span v-if="peer.hops != null && (peer.hops === 0 || peer.hops === 1)" class="flex my-auto text-sm text-gray-500 space-x-1">
|
||||
<span>• Direct</span>
|
||||
</span>
|
||||
|
||||
<!-- snr (only shown for peers directly heard on rf) -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue