mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-10-26 19:01:43 -04:00
show hops away for announces list
This commit is contained in:
parent
5a1bd889b7
commit
97ca42b29f
1 changed files with 10 additions and 2 deletions
|
|
@ -97,10 +97,18 @@
|
|||
{{ formatTimeAgo(peer.updated_at) }}
|
||||
</span>
|
||||
|
||||
<!-- snr (only shown for peers directly heard on rf) -->
|
||||
<!-- 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>
|
||||
</span>
|
||||
|
||||
<!-- snr (only shown for peers directly heard on rf) -->
|
||||
<span v-if="peer.snr != null && (peer.hops === 0 || peer.hops === 1)" class="flex my-auto space-x-1">
|
||||
<span>•</span>
|
||||
<span>SNR {{ peer.snr }}dB</span>
|
||||
<span>SNR {{ peer.snr }}</span>
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue