Skip to content

Commit

Permalink
show unknown hops for -1
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 17, 2024
1 parent e8b2ce3 commit d0467a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/nodes/NodesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div v-else>

<!-- hops away -->
<span v-if="node.hopsAway === -1">Direct Connection</span>
<span v-if="node.hopsAway === -1">Unknown Hops</span>
<span v-else-if="node.hopsAway === 0">Direct Connection</span>
<span v-else-if="node.hopsAway === 1">1 Hop Away</span>
<span v-else>{{ node.hopsAway }} Hops Away</span>
Expand Down

0 comments on commit d0467a3

Please sign in to comment.