This commit is contained in:
Tilen Komel
2025-02-25 20:55:15 +01:00
parent 379ac46ec8
commit 079e60677e
+2 -1
View File
@@ -158,7 +158,8 @@ const NodesPage = (): JSX.Element => {
{node.lastHeard !== 0
? node.viaMqtt === false && node.hopsAway === 0
? "Direct"
: `${node.hopsAway.toString()} ${node.hopsAway > 1 ? "hops" : "hop"
: `${node.hopsAway.toString()} ${
node.hopsAway > 1 ? "hops" : "hop"
} away`
: "-"}
{node.viaMqtt === true ? ", via MQTT" : ""}